/* =========================================
   COMMON CSS
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f5faf8;
    color: #102a43;
    min-height: 100vh;
}
.site-container {
    max-width: 1376px;
    margin: 0 auto;
    padding: 0 28px;
}

/* Buttons */
.btn {
    height: 54px;
    padding: 10px 20px;
    margin-top: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: #000;
    color: #ffffff;
    border-radius: 9px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 6px 15px rgba(7, 140, 99, 0.18);
    transition: background 0.2s ease, transform 0.2s ease;
    max-width: 180px;
    border: none;
}
.btn:hover {
    background: #555;
    transform: translateY(-1px);
}
.btn-green {
    background: #078c63;
    color: #ffffff; 
}
.btn-green:hover {
    background: #067653;
}
.btn-icon {
    width: 16px;
    height: 16px;
}
.btn-icon img {
    width: auto;
    height: 100%;
    display: block;
}
.btn-block {
    width: 100% !important;
    max-width: 100% !important;
}

/* =========================================
   HEADER
========================================= */
.site-header {
    width: 100%;
    height: 72px;
    background: #ffffff;
    border-bottom: 1px solid #edf2f0;
    box-shadow: 0 3px 15px rgba(16, 42, 67, 0.05);
}
.header-inner {
    width: 100%;
    height: 100%;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.site-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}
.site-logo img {
    display: block;
    width: 190px;
    height: auto;
}
.main-navigation {
    display: flex;
    align-items: center;
    gap: 38px;
    height: 100%;
}
.main-navigation a {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    color: #66758a;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}
.main-navigation a:hover,
.main-navigation a.active {
    color: #078c63;
}
.main-navigation a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 12px;
    height: 3px;
    background: #078c63;
    border-radius: 3px;
}

/* =========================================
   BOTTOM LEFT / RIGHT PART
========================================= */
.signup-page {
    width: 100%;
    padding: 30px 0 45px;
}
.signup-container {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(500px, 0.84fr);
    gap: 28px;
    align-items: stretch;
}

/* LEFT SIDE */
.signup-left {
    min-width: 0;
    background: #ffffff;
    border: 1px solid #e5eeeb;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(16, 42, 67, 0.04);
    display: flex;
    flex-direction: column;
}
.signup-image {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    background: #edf6f2;
}

.signup-image::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 90px;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.45) 45%,
        #ffffff 100%
    );
    pointer-events: none;
}

.signup-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.signup-content {
    padding: 34px;
    background: #ffffff;
}
.signup-content h1 {
    max-width: 680px;
    color: #102a43;
    font-size: clamp(32px, 3vw, 36px);
    line-height: 1.28;
    font-weight: 700;
    letter-spacing: -1.2px;
    margin-bottom: 22px;
}
.signup-content h1 span {
    color: #078c63;
}
.signup-content p {
    max-width: 680px;
    color: #63758b;
    font-size: 17px;
    line-height: 1.55;
    margin-bottom: 20px;
}
.signup-content p a {
    color: #078c63;
    font-weight: 600;
    text-decoration: none;
}
.signup-content p a:hover {
    text-decoration: underline;
}



/* RIGHT FORM + VALIDATION */
.signup-form-card {
    min-width: 0;
    background: #ffffff;
    border: 1px solid #e6eeeb;
    border-radius: 18px;
    padding: 34px;
    box-shadow: 0 8px 30px rgba(16, 42, 67, 0.05);
}
.form-header {
    margin-bottom: 27px;
}
.form-header h2 {
    color: #102a43;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.7px;
}
.signup-form {
    width: 100%;
}
.form-row {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 19px;
}
.form-group {
    min-width: 0;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #102a43;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 600;
}
.required {
    color: #ee5565;
    font-weight: 700;
}
.form-group input,
.form-group select {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    background: #ffffff;
    border: 1px solid #d4dfe8;
    border-radius: 7px;
    color: #243b53;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-group input::placeholder {
    color: #8b9aae;
}
.form-group input:focus,
.form-group select:focus {
    border-color: #078c63;
    box-shadow: 0 0 0 3px rgba(7, 140, 99, 0.08);
}
.form-group select {
    appearance: auto;
    cursor: pointer;
}
.form-empty {
    visibility: hidden;
}
.field-error {
    display: block;
    margin-top: 6px;
    color: #ee5565;
    font-size: 13px;
    line-height: 1.4;
}
.form-group input.input-error,
.form-group select.input-error {
    border-color: #ee5565 !important;
    box-shadow: 0 0 0 3px rgba(238, 85, 101, 0.08);
}
.permissions {
    margin-top: 3px;
    margin-bottom: 25px;
}
.permissions-label {
    display: block;
    margin-bottom: 11px;
    color: #102a43;
    font-size: 14px;
    font-weight: 600;
}
.permission-options {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
.checkbox-item {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #30465c;
    font-size: 14px;
    cursor: pointer;
}
.checkbox-item input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #078c63;
    cursor: pointer;
}
.permissions.input-error .checkbox-item input {
    outline: 1px solid #ee5565;
    outline-offset: 2px;
}
.form-group label.error,
.error,
.error-block span {
    color: #ee5565;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 600;
}

.error-block {
    margin-bottom: 20px;
}

/* modal */
.modal {
    display: none;
}
.modal.show {
    display: block;
}
.modal.modal-static .modal-dialog {
    -webkit-transform: scale(1);
    transform: scale(1);
}
.card {
    border: none !important;
}
.modal-header {
    height: 57px
}
.payment-btn {
    width: 100px !important;
    border-radius: 20px !important;
}
.alert-info {
    color: red !important;
}
.card-body {
    padding-left: 0;
    padding-right: 0;
}

@media (min-width: 600px) {
    .modal-dialog {
        width: 350px !important;
    }

    .card,
    .modal-content {
        height: 400;
    }
}
@media (min-width: 992px) {
    .modal-dialog {
        width: 400px !important;
    }

    .card,
    .modal-content {
        height: 400;
    }
}
@media (max-width: 600px) {

    .card,
    .modal-content {
        height: auto !important;
    }
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 1199.98px) {
    .site-container {
        max-width: 800px;
    }
    .signup-container {
        grid-template-columns: 1fr;
    }
    .signup-image {
        height: 360px;
    }
    .signup-content {
        padding: 30px;
    }
    .signup-content h1 {
        font-size: 32px;
    }
}
@media (max-width: 767.98px) {
    .btn {
        height: 42px;
        padding: 5px 16px;
        gap: 10px;
        font-size: 14px;
        max-width: 170px;
    }
    .btn-icon {
        width: 12px;
        height: 12px;
    }
    .site-header {
        height: auto;
    }
    .header-inner {
        min-height: 70px;
        padding-top: 12px;
        padding-bottom: 12px;
        flex-direction: column;
        align-items: center;
        gap: 0;
    }
    .site-logo img {
        width: 165px;
    }
    .main-navigation {
        width: 100%;
        height: 42px;
        gap: 20px;
        overflow-x: auto;
        justify-content: center;
    }
    .main-navigation a {
        height: 42px;
        white-space: nowrap;
        font-size: 14px;
    }
    .main-navigation a.active::after {
        bottom: 0;
    }
    .signup-page {
        padding: 18px 0 30px;
    }
    .signup-container {
        gap: 18px;
    }
    .signup-image {
        height: 270px;
    }
    .signup-content {
        padding: 27px 24px 30px;
    }
    .signup-content h1 {
        font-size: 28px;
        letter-spacing: -0.6px;
    }
    .signup-content p {
        font-size: 15px;
    }
    .signup-form-card {
        padding: 26px;
    }
    .form-header h2 {
        font-size: 27px;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-bottom: 18px;
    }
    .form-empty {
        display: none;
    }
    .permission-options {
        flex-direction: column;
        align-items: flex-start;
    }
}
@media (max-width: 479.98px) {
    .signup-image {
        height: 200px;
    }
    .signup-content h1 {
        font-size: 24px;
    }
    .signup-content h1 br {
        display: none;
    }
    .signup-form-card {
        border-radius: 14px;
        padding: 22px;
    }
    .login-button {
        width: 145px;
    }
    .signup-content {
        padding: 22px;
    }
}