﻿@font-face {
    font-family: 'GT-Haptik--Black';
    src: url('./fonts/GT-Haptik-Black.eot');
    src: url('./fonts/GT-Haptik-Black.woff') format('woff'), url('./fonts/GT-Haptik-Black.ttf') format('truetype');
}

@font-face {
    font-family: 'GT-Haptik--Bold';
    src: url('./fonts/GT-Haptik-Bold.eot');
    src: url('./fonts/GT-Haptik-Bold.woff') format('woff'), url('./fonts/GT-Haptik-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'GT-Haptik--Medium';
    src: url('./fonts/GT-Haptik-Medium.eot');
    src: url('./fonts/GT-Haptik-Medium.woff') format('woff'), url('./fonts/GT-Haptik-Medium.ttf') format('truetype');
}

@font-face {
    font-family: 'GT-Haptik--Regular';
    src: url('./fonts/GT-Haptik-Regular.eot');
    src: url('./fonts/GT-Haptik-Regular.woff') format('woff'), url('./fonts/GT-Haptik-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'GT-Haptik--Light';
    src: url('./fonts/GT-Haptik-Light.eot');
    src: url('./fonts/GT-Haptik-Light.woff') format('woff'), url('./fonts/GT-Haptik-Light.ttf') format('truetype');
}

:root {
    --primary-blue: #003366;
    --light-blue: #e6f2ff;
    --info-blue: #2196f3;
    --warning-yellow: #ffc107;
    --error-red: #dc3545;
    --success-blue: #0066cc;
}

* {
    box-sizing: border-box;
}

body {
    font-family: Arial, Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    padding-bottom: 120px;
    font-size: 14px;
}

.container_c {
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px 15px;
}

.header {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-blue);
}

    .header h1 {
        font-family: 'GT-Haptik--Black', Arial, Geneva, Verdana, sans-serif;
        font-size: 28px;
        font-weight: 600;
        margin-bottom: 10px;
    }

    .header p {
        font-family: 'GT-Haptik--Bold', Arial, Geneva, Verdana, sans-serif;
        color: #666;
        font-size: 16px;
    }

.bg-primary {
    background-color: var(--primary-blue) !important;
}

.form-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.tabs-nav {
    display: flex;
    background: #f8f9fa;
    border-bottom: 3px solid var(--primary-blue);
    overflow-x: auto;
}

.tab-item {
    flex: 1;
    min-width: 150px;
    padding: 20px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border-right: 1px solid #dee2e6;
    position: relative;
}

    .tab-item:last-child {
        border-right: none;
    }

    .tab-item:hover {
        background: #e9ecef;
    }

    .tab-item.active {
        background: var(--primary-blue);
        color: white;
    }

    .tab-item.completed {
        background: var(--light-blue);
    }

.tab-number {
    display: inline-block;
    width: 25px;
    height: 25px;
    line-height: 25px;
    border-radius: 50%;
    background: #dee2e6;
    color: #495057;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
}

.tab-item.active .tab-number {
    background: white;
    color: var(--primary-blue);
}

.tab-item.completed .tab-number {
    background: var(--success-blue);
    color: white;
}

.tab-title {
    font-family: 'GT-Haptik--Bold', Arial, Geneva, Verdana, sans-serif;
    font-size: 14px;
    font-weight: 600;
    display: block;
}

.progress-section {
    padding: 20px 30px;
    background: white;
}

.progress {
    height: 25px;
    border-radius: 12px;
    background: #e9ecef;
    overflow: visible;
}

.progress-bar {
    background: var(--success-blue);
    transition: width 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    border-radius: 12px;
}

.tab-content {
    padding: 30px;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.3s ease;
}

    .tab-pane.active {
        display: block;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title {
    font-family: 'GT-Haptik--Black', Arial, Geneva, Verdana, sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-icon {
    font-size: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    font-family: 'GT-Haptik--Bold', Arial, Geneva, Verdana, sans-serif;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    display: block;
}

.required {
    color: var(--error-red);
    margin-left: 4px;
}

.form-control, .form-select {
    border: 2px solid #dee2e6;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

    .form-control:focus, .form-select:focus {
        border-color: var(--primary-blue);
        box-shadow: 0 0 0 0.2rem rgba(0, 51, 102, 0.15);
    }

    .form-control[readonly] {
        background-color: #e9ecef;
        color: #6c757d;
        cursor: not-allowed;
    }

.form-check-input:checked {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.form-check-input:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(0, 51, 102, 0.15);
}

.btn, .btn-tertiary {
    font-family: 'GT-Haptik--Bold', Arial, sans-serif;
}

.helper-text {
    font-size: 13px;
    color: #6c757d;
    margin-top: 5px;
    display: block;
}

.upload-zone {
    border: 3px dashed #ccc;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .upload-zone:hover {
        border-color: var(--primary-blue);
        background: var(--light-blue);
    }

    .upload-zone.drag-over {
        border-color: var(--primary-blue);
        background: var(--light-blue);
        transform: scale(1.02);
    }

.upload-icon {
    font-size: 48px;
    margin-bottom: 15px;
    color: var(--primary-blue);
}

.upload-text {
    font-size: 16px;
    color: #495057;
    margin-bottom: 8px;
}

.upload-subtext {
    font-size: 13px;
    color: #6c757d;
}

.file-list {
    margin-top: 20px;
}

.file-item {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.file-name {
    font-weight: 600;
    color: #333;
}

.file-size {
    font-size: 13px;
    color: #6c757d;
}

.file-remove {
    color: var(--error-red);
    cursor: pointer;
    font-size: 18px;
    padding: 5px 10px;
    transition: all 0.3s ease;
}

    .file-remove:hover {
        transform: scale(1.2);
    }

.info-alert {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.warning-alert {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.danger-alert {
    background: #f8d7da;
    border-left: 4px solid #dc3545;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.success-alert {
    background: var(--light-blue);
    border-left: 4px solid var(--success-blue);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.fee-group {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.fee-group-title {
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 15px;
}


.nav-pills {
    --bs-nav-pills-border-radius: var(--bs-border-radius);
    --bs-nav-pills-link-active-color: #fff;
    --bs-nav-pills-link-active-bg: #0d6efd;
    gap: 10px;
    font-family: 'GT-Haptik--Bold', Arial, Geneva, Verdana, sans-serif;
}

    .nav-pills .nav-link {
        border-radius: var(--bs-nav-pills-border-radius);
    }
        .nav-pills .nav-link.active,
        .nav-pills .show > .nav-link,
        .nav-pills .nav-link:hover {
            color: #fff;
            background-color: #003366;
        }
        .nav-pills .nav-link .btn-delete {
            background: none;
            border: none;
            padding: 0;
            margin-left: 8px;
            font-size: 14px;
        }
            .nav-pills .nav-link .btn-delete:hover {
                color: red;
            }


        .nav-pills .nav-link.active .btn-delete {
            color: white;
        }

        .nav-pills .nav-link:not(.active) .btn-delete {
            color: #0d6efd;
        }

/* "Add New" shown as an outlined button instead of a filled pill */
.nav-pills .nav-link.btn-add-new {
    color: #003366;
    background-color: transparent;
    border: 1px solid #003366;
}
    .nav-pills .nav-link.btn-add-new:hover,
    .nav-pills .nav-link.btn-add-new:focus {
        color: #fff;
        background-color: #003366;
        border-color: #003366;
    }

.product-tabs {
    display: flex;
    flex-wrap: wrap;
}

    .product-tabs .nav-item:last-child {
        margin-left: auto;
    }


/* Tab animations */
.nav-item {
    transition: all 0.3s ease;
}

    .nav-item.tab-adding {
        animation: tabSlideIn 0.3s ease forwards;
    }

    .nav-item.tab-removing {
        animation: tabSlideOut 0.3s ease forwards;
    }

@keyframes tabSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes tabSlideOut {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    to {
        opacity: 0;
        transform: translateY(-10px) scale(0.9);
    }
}

/* Tab content animations */
.tab-pane {
    transition: opacity 0.3s ease;
}

    .tab-pane.content-adding {
        animation: contentFadeIn 0.3s ease forwards;
    }

    .tab-pane.content-removing {
        animation: contentFadeOut 0.3s ease forwards;
    }

@keyframes contentFadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes contentFadeOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(-20px);
    }
}





.navigation-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 3px solid var(--primary-blue);
    box-shadow: 0 -4px 12px rgba(0,0,0,0.15);
    padding: 20px;
    z-index: 1000;
}

.nav-buttons {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.btn {
    border-radius: 8px;
    padding: 12px 30px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--primary-blue);
    color: white;
}

    .btn-primary:hover:not(:disabled) {
        background: #002147;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 51, 102, 0.3);
    }

.btn-secondary {
    background: #6c757d;
    color: white;
}

    .btn-secondary:hover:not(:disabled) {
        background: #545b62;
        transform: translateY(-2px);
    }

.btn-outline {
    background: white;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
}

    .btn-outline:hover {
        background: var(--primary-blue);
        color: white;
    }

.btn-success {
    background: var(--success-blue);
    color: white;
}

    .btn-success:hover:not(:disabled) {
        background: #0056b3;
        transform: translateY(-2px);
    }

.btn:disabled {
    opacity: 0.6;
    background: #6699cc !important;
    color: white !important;
    cursor: not-allowed;
}

.review-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.review-title {
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 16px;
}

.review-item {
    padding: 10px 0;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
}

    .review-item:last-child {
        border-bottom: none;
    }

.review-label {
    color: #6c757d;
    font-size: 14px;
}

.review-value {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.is-invalid {
    border-color: var(--error-red) !important;
}

.hidden-section {
    display: none;
}

.smart-lookup-container {
    position: relative;
}

.smart-lookup-results {
    position: absolute;
    left: 0;
    right: 0;
    /* it expands upward from the input box: */
    bottom: 100%;
    margin-bottom: 5px; /* Adds a tiny gap between input and list */
    /* it expands upward from the input box: */
    /* it expands downward from the input box: */
    /*top: 100%*/
    background: white;
    border: 2px solid #dee2e6;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 100;
    display: none;
    box-shadow: 0 -4px 6px rgba(0,0,0,0.1); /* Shadow goes UP */
}

    .smart-lookup-results.show {
        display: block;
    }

.smart-lookup-item {
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
}

    .smart-lookup-item:hover {
        background-color: var(--light-blue);
    }

    .smart-lookup-item:last-child {
        border-bottom: none;
    }

.inverter-tags-container {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    min-height: 38px;
    padding: 6px 12px;
    background-color: #fff;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    font-size: 14px;
    cursor: text;
    transition: all 0.3s ease;
}

    .inverter-tags-container:focus-within {
        border-color: var(--primary-blue);
        box-shadow: 0 0 0 0.2rem rgba(0, 51, 102, 0.15);
    }

.inverter-tags-list {
    display: contents;
}

.inverter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    background-color: var(--light-blue);
    color: var(--primary-blue);
    border-radius: 16px;
    font-size: 13px;
    line-height: 1.4;
    white-space: nowrap;
}

.inverter-tag-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    color: var(--primary-blue);
    cursor: pointer;
    opacity: 0.6;
    font-size: 16px;
    line-height: 1;
    transition: all 0.2s ease;
}

    .inverter-tag-remove:hover {
        opacity: 1;
        background-color: var(--primary-blue);
        color: #fff;
    }

.inverter-tags-input {
    flex: 1;
    min-width: 140px;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 4px 0;
    font-size: 14px;
}

.input-group-text {
    background-color: var(--light-blue);
    border: 2px solid #dee2e6;
    border-radius: 8px;
}


@media (max-width: 768px) {
    .tabs-nav {
        flex-direction: column;
    }

    .tab-item {
        border-right: none;
        border-bottom: 1px solid #dee2e6;
    }

    .nav-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .tab-content {
        padding: 20px;
    }
}

/* Success Modal Styles */
/*.success-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--success-blue) 0%, var(--primary-blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    animation: scaleIn 0.5s ease-out;
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.3);
}

    .success-icon i {
        font-size: 50px;
        color: white;
    }

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}*/

.sticky-footer {
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 3px solid var(--primary-blue);
    box-shadow: 0 -4px 12px rgba(0,0,0,0.15);
    padding: 20px;
    margin-top: 20px;
    z-index: 1000;
}

.alignCenter {
    text-align: center !important;
}


/*Submission page start*/
.submission-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 15px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.success-container {
    max-width: 800px;
    width: 100%;
}

.success-card {
    background: white;
    border-radius: 16px;
    padding: 50px 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .success-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 6px;
        background: linear-gradient(90deg, var(--primary-blue) 0%, var(--primary-blue) 100%);
    }

.success-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    animation: scaleIn 0.5s ease-out;
    box-shadow: 0 10px 30px rgba(40, 167, 69, 0.3);
}

    .success-icon svg {
        width: 70px;
        height: 70px;
        stroke: white;
        stroke-width: 3;
        stroke-linecap: round;
        stroke-linejoin: round;
        fill: none;
        animation: checkmark 0.8s ease-out 0.3s forwards;
        stroke-dasharray: 100;
        stroke-dashoffset: 100;
    }

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes checkmark {
    to {
        stroke-dashoffset: 0;
    }
}

.success-title {
    color: var(--primary-blue);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    animation: fadeInUp 0.6s ease-out 0.4s backwards;
}

.submission-details {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
    text-align: left;
    animation: fadeInUp 0.6s ease-out 0.6s backwards;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

    .detail-row:last-child {
        border-bottom: none;
    }

.detail-label {
    font-weight: 600;
    color: #495057;
}

.detail-value {
    color: #212529;
    font-weight: 500;
}

/*Submission page end*/