﻿/* ======================================================
   PEPPOL Signup Page — Final Side-by-Side Layout
   ====================================================== */

html, body {
    height: 100%;
    margin: 0;
    font-family: "Open Sans", sans-serif;
    background: linear-gradient(135deg, #f9faf7 0%, #dce6c8 35%, #b3c29a 70%, #7f8558 100%);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    overflow-x: hidden;
}
.dvhide{
    display: none !important;
}
/* === Wrapper === */
.signup-main-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
}

/* === Unified container for both panels === */
.signup-container {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    width: 90%;
    max-width: 1200px;
    min-height: 600px;
}

/* ======================================================
  LEFT FORM SECTION
   ====================================================== */
.signup-form-section {
    flex: 0.85; /* slightly narrower */
    background: #ffffff;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: none; /* removed dividing line */
}

.form-logo {
    width: 220px;
    display: block;
    margin: 0 auto 15px auto;
    opacity: 0.95;
}

.signup-form-section h3 {
    color: #222;
}

/* ======================================================
   Modern Input Fields
   ====================================================== */
.modern-input,
.modern-select {
    border: 1.5px solid #d9ddcc;
    border-radius: 8px;
    background-color: #f9faf7;
    padding: 0.6rem 0.75rem;
    transition: all 0.3s ease-in-out;
    font-size: 0.95rem;
}

    .modern-input:hover,
    .modern-select:hover {
        border-color: #b3c29a;
    }

    .modern-input:focus,
    .modern-select:focus {
        border-color: #7f8558 !important;
        background-color: #fff;
        box-shadow: 0 0 0 0.25rem rgba(127, 133, 88, 0.25);
        outline: none;
    }

/* Select2 Styling */
.select2-container .select2-selection--single {
    height: 38px !important;
    border: 1.5px solid #d9ddcc !important;
    border-radius: 8px !important;
    background-color: #f9faf7 !important;
    display: flex !important;
    align-items: center;
    transition: all 0.3s ease-in-out;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #333 !important;
    padding-left: 10px !important;
    font-size: 0.95rem;
}

.select2-container--default .select2-selection--single:hover {
    border-color: #b3c29a !important;
}

.select2-container--default .select2-selection--single:focus {
    border-color: #7f8558 !important;
    box-shadow: 0 0 0 0.25rem rgba(127, 133, 88, 0.25) !important;
}

.select2-dropdown {
    border: 1.5px solid #7f8558 !important;
    border-radius: 8px !important;
    overflow: hidden;
}

/* ======================================================
   Buttons
   ====================================================== */
.btn-success {
    background-color: #7f8558 !important;
    border-color: #7f8558 !important;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 15px;
}

    .btn-success:hover {
        background-color: #6e744b !important;
        border-color: #6e744b !important;
        box-shadow: 0 4px 10px rgba(127, 133, 88, 0.25);
    }

/* Prevent clicks */
.btn-loading {
    pointer-events: none;
    opacity: 0.9;
    position: relative;
}

/* Dot wrapper */
/* Dot wrapper */
.dots-loader {
    display: inline-flex;
    gap: 6px;
    margin-left: 10px;
    position: relative;
    vertical-align: middle; /* ⭐ FIX */
    top: 0; /* ⭐ remove downward shift */
}

    /* Individual dots */
    .dots-loader span {
        width: 6px;
        height: 6px;
        background-color: #ffffff;
        border-radius: 50%;
        opacity: 0.2;
        animation: dotsMicro 0.9s infinite ease-in-out;
        vertical-align: middle; /* ⭐ ensure perfect baseline alignment */
    }


        /* animation delays for sequence */
        .dots-loader span:nth-child(1) {
            animation-delay: 0s;
        }

        .dots-loader span:nth-child(2) {
            animation-delay: 0.15s;
        }

        .dots-loader span:nth-child(3) {
            animation-delay: 0.3s;
        }

/* Keyframes */
@keyframes dotsMicro {
    0% {
        opacity: 0.2;
        transform: scale(1);
    }

    30% {
        opacity: 1;
        transform: scale(1.4);
    }

    60% {
        opacity: 0.2;
        transform: scale(1);
    }

    100% {
        opacity: 0.2;
    }
}


/* ======================================================
    RIGHT INFO WIDGET
   ====================================================== */
.signup-info-section {
    flex: 1.15; /* slightly wider */
    background: #ffffff;
    padding: 3rem 2.8rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .signup-info-section h4 {
        color: #7f8558;
        font-weight: 700;
        font-size: 1.5rem;
    }

    .signup-info-section p {
        color: #555;
        font-size: 0.95rem;
        line-height: 1.6;
    }

/* === Tabs === */
.nav-pills {
    justify-content: center;
    margin-top: 1rem;
    flex-wrap: wrap;
}

    .nav-pills .nav-link {
        background-color: #f3f6f1;
        color: #7f8558;
        font-weight: 600;
        border-radius: 30px;
        margin: 0.3rem;
        padding: 0.5rem 1.3rem;
        transition: all 0.3s ease;
    }

        .nav-pills .nav-link.active {
            background-color: #7f8558;
            color: #fff;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }

        .nav-pills .nav-link:hover {
            background-color: #6e744b;
            color: #fff;
            transform: translateY(-2px);
        }

/* === Tab Content === */
.tab-content {
    margin-top: 1.2rem;
    text-align: center;
}

.tab-pane {
    animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.signup-info-section i {
    font-size: 2.5rem;
    color: #7f8558;
    margin-bottom: 1rem;
    transition: all 0.4s ease;
}

.tab-pane:hover i {
    transform: scale(1.1) rotate(5deg);
}
/* === PEPPOL 4-Corner Model Image Styling === */
#model img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    #model img:hover {
        transform: scale(1.02);
        box-shadow: 0 6px 18px rgba(127, 133, 88, 0.25);
    }

.peppol-model-img {
    max-width: 200px; /* compact size */
    height: auto;
    display: inline-block;
    background: transparent; /* ensures PNG blends */
    border: none; /* remove border */
    box-shadow: none; /* remove shadow */
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.95; /* soft visual blend */
}

    .peppol-model-img:hover {
        transform: scale(1.03);
        opacity: 1;
    }

/*  Specific size adjustment for File Validation tab */
#validation .peppol-model-img {
    max-width: 150px; /* smaller than others */
    opacity: 0.95;
}

#CompanyInfoSection .border {
    border-color: #7f8558 !important;
}

#CompanyInfoSection strong {
    color: #7f8558;
}

/*=====================================================
 Select2 Dropdown — PEPPOL Theme Integration 
=======================================================*/

.select2-container--default .select2-selection--single {
    height: 38px !important;
    border: 1px solid #d6d8cf !important;
    border-radius: 6px !important;
    background-color: #fdfdfb !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 8px !important;
    transition: all 0.3s ease-in-out;
    box-shadow: none !important;
}

    /* Focus state */
    .select2-container--default .select2-selection--single:focus,
    .select2-container--default.select2-container--open .select2-selection--single {
        border-color: #7f8558 !important;
        box-shadow: 0 0 0 0.15rem rgba(127, 133, 88, 0.25) !important;
    }

/* Dropdown arrow */
.select2-container--default .select2-selection__arrow b {
    border-color: #7f8558 transparent transparent transparent !important;
}

/* Placeholder / selected text */
.select2-container--default .select2-selection__rendered {
    color: #444 !important;
    font-size: 14px !important;
    font-weight: 500;
}

/* Dropdown panel */
.select2-container--default .select2-dropdown {
    background: #ffffff !important;
    border: 1px solid #dcded6 !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 20px rgba(127, 133, 88, 0.15) !important;
    margin-top: 4px !important;
    overflow: hidden !important;
}

/* Options list */
.select2-container--default .select2-results__option {
    padding: 8px 12px !important;
    font-size: 14px !important;
    color: #333 !important;
    transition: background 0.2s ease, color 0.2s ease;
}

/* Hover + Highlighted options */
.select2-container--default .select2-results__option--highlighted {
    background-color: #7f8558 !important;
    color: #fff !important;
    border-radius: 0 !important;
}

/* Search box inside dropdown */
.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #b8bca5 !important;
    border-radius: 6px !important;
    padding: 5px 8px !important;
    outline: none !important;
}

    .select2-container--default .select2-search--dropdown .select2-search__field:focus {
        border-color: #7f8558 !important;
        box-shadow: 0 0 0 0.15rem rgba(127, 133, 88, 0.25) !important;
    }

/* Remove thick blue focus border */
.select2-container--focus .select2-selection--single {
    outline: none !important;
    box-shadow: none !important;
}
.select2-container--default .select2-results__option:hover {
    background-color: #eaeedb !important;
    color: #000 !important;
}
/* ======================================================
    Support Note Styling
   ====================================================== */
.support-note {
    font-size: 13px;
    color: #555;
    margin-top: 15px;
    text-align: center;
}

.support-link {
    color: #7f8558;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

    .support-link:hover {
        color: #6b734e;
        text-decoration: underline;
    }
/* ======================================================
    Compact "Know More" Link Button
   ====================================================== */
.know-more-mini {
    display: inline-block;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #7f8558;
    border: 1px solid #7f8558;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.25s ease-in-out;
    background-color: #ffffff;
    box-shadow: 0 2px 6px rgba(127, 133, 88, 0.15);
}

    .know-more-mini:hover {
        background-color: #7f8558;
        color: #ffffff;
        transform: translateY(-1px);
        box-shadow: 0 4px 10px rgba(127, 133, 88, 0.3);
    }

@media (max-width: 991px) {
    .know-more-mini {
        font-size: 12px;
        padding: 5px 12px;
    }
}
/*======================================================
    OTP Verification 
========================================================*/
/* ======== OTP Verification Layout ======== */
.otp-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
    text-align: center;
    animation: fadeIn 0.4s ease-in-out;
}

.otp-input-wrapper {
    max-width: 220px;
    margin: 0 auto;
    position: relative;
}

.otp-input {
    font-size: 1.3rem;
    letter-spacing: 4px;
    text-align: center;
    height: 48px;
    border: 2px solid #dcdcdc;
    border-radius: 8px;
    transition: all 0.2s ease-in-out;
}

    .otp-input:focus {
        border-color: #7f8558;
        box-shadow: 0 0 5px rgba(127,133,88,0.3);
        outline: none;
    }

#resendNote {
    color: #888;
}

#btnResendOtp:hover {
    text-decoration: underline;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Keep the right info-section intact */
.signup-info-section {
    border-left: 1px solid #f2f2f2;
}

/* ======================================================
    RESPONSIVE DESIGN
   ====================================================== */

@media (max-width: 991px) {
    .signup-container {
        flex-direction: column;
        width: 95%;
        border-radius: 16px;
        min-height: auto;
    }

    .signup-form-section {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        padding: 2rem 1.5rem;
        flex: unset;
    }

    .signup-info-section {
        padding: 2rem 1.5rem;
        flex: unset;
    }

    .nav-pills .nav-link {
        font-size: 0.9rem;
        padding: 0.4rem 1rem;
    }

    .signup-info-section i {
        font-size: 2rem;
    }
}

/* Large Screens */
@media (min-width: 992px) and (max-width: 1366px) {
    .signup-container {
        width: 85%;
        max-width: 1100px;
    }
}
/* ======================================================
   🌿 Responsive Select2 Dropdown
   ====================================================== */

/* For mobile screens */
@media (max-width: 575px) {
    .select2-container {
        width: 100% !important;
    }

    .select2-container--default .select2-selection--single {
        height: 42px !important;
        font-size: 14px !important;
        border-radius: 8px !important;
    }

    .select2-container--default .select2-results__option {
        font-size: 13px !important;
        padding: 8px 10px !important;
    }

    .select2-container--default .select2-dropdown {
        width: 100% !important;
        left: 0 !important;
    }
}

/* For tablets and medium screens */
@media (min-width: 576px) and (max-width: 991px) {
    .select2-container {
        width: 100% !important;
    }

    .select2-container--default .select2-selection--single {
        height: 40px !important;
        font-size: 14px !important;
        border-radius: 6px !important;
    }

    .select2-container--default .select2-results__option {
        font-size: 13.5px !important;
    }
}

/* For smaller laptops or mid screens */
@media (min-width: 992px) and (max-width: 1366px) {
    .select2-container {
        width: 100% !important;
    }

    .select2-container--default .select2-selection--single {
        height: 38px !important;
        font-size: 14px !important;
    }
}
