body {
    background-color: #f0f2f5;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
}

.logo-container {
    padding: 20px 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 600;
    color: #005C4B;
    text-decoration: none;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #005C4B 0%, #45b5d8 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 16px;
}

.login-container {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 48px 30px;
    width: 100%;
    max-width: 470px;
}

.login-logo {
    text-align: center;
    margin-bottom: 24px;
}

.login-logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #005C4B 0%, #45b5d8 100%);
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 24px;
    margin-bottom: 8px;
}

.login-logo-text {
    color: #005C4B;
    font-size: 18px;
    font-weight: 600;
}

.login-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
    text-align: center;
}

.login-subtitle {
    color: #156a4c;
    font-size: 16px;
    text-align: center;
    margin-bottom: 32px;
}

.forgot-password {
    text-align: right;
    margin-top: 8px;
    margin-bottom: 24px;
}

.forgot-password a {
    color: #005C4B;
    font-size: 16px;
    text-decoration: none;
}

.forgot-password a:hover {
    text-decoration: underline;
}

.btn-login {
    background: #005C4B;
    border: none;
    border-radius: 6px;
    color: white;
    font-weight: 600;
    font-size: 16px;
    width: 100%;
    transition: background-color 0.2s;
}

.btn-login:hover {
    background: #156a4c;
    color: #fff;
}

.register-link {
    text-align: center;
    margin-top: 24px;
    font-size: 16px;
    color: #156a4c;
}

.register-link a {
    color: #005C4B;
    text-decoration: none;
    font-weight: 500;
}

.register-link a:hover {
    text-decoration: underline;
}

.register-container {
    padding: 40px 20px;
    max-width: 580px;
    margin: 0 auto;
}

/* Stepper */
.stepper {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    position: relative;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
    max-width: 150px;
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    border: 2px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #156a4c;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
}

.step.active .step-number {
    background: #005C4B;
    border-color: #005C4B;
    color: white;
}

.step.completed .step-number {
    background: #005C4B;
    border-color: #005C4B;
    color: white;
}

.step-label {
    font-size: 13px;
    color: #156a4c;
    font-weight: 500;
}

.step.active .step-label {
    color: #005C4B;
}

.step-line {
    position: absolute;
    top: 18px;
    left: 50%;
    right: -50%;
    height: 2px;
    background: #dee2e6;
    z-index: 1;
}

.step:last-child .step-line {
    display: none;
}

.step.completed .step-line {
    background: #005C4B;
}

/* Card */
.register-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 30px;
}

.back-button {
    color: #005C4B;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
}

.back-button:hover {
    color: #156a4c;
}

.card-logo {
    text-align: right;
    margin-bottom: 24px;
}

.card-logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #005C4B 0%, #45b5d8 100%);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 20px;
}

.card-logo-text {
    display: inline-block;
    color: #005C4B;
    font-size: 16px;
    font-weight: 600;
    margin-left: 8px;
    vertical-align: middle;
}

.card-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.card-subtitle {
    color: #156a4c;
    font-size: 16px;
    margin-bottom: 32px;
}

.form-label {
    color: #1a1a1a;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 8px;
}

.form-label .text-danger {
    color: #dc3545;
}

.form-control,
.form-select {
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 14px;
}

.form-control:focus,
.form-select:focus {
    border-color: #005C4B;
    box-shadow: 0 0 0 0.2rem rgba(26, 115, 168, 0.15);
}

.input-group-text {
    background: white;
    border: 1px solid #dee2e6;
    border-right: none;
    color: #156a4c;
}

.input-group .form-control {
    border-left: none;
}

.password-hint {
    font-size: 12px;
    color: #156a4c;
    margin-top: 6px;
}

.btn-primary {
    background: #005C4B;
    border: none;
    border-radius: 6px;
    color: white;
    font-weight: 600;
    font-size: 16px;
    width: 100%;
}

.btn-primary:hover {
    background: #156a4c;
}

.login-link {
    text-align: center;
    margin-top: 24px;
    font-size: 16px;
    color: #156a4c;
}

.login-link a {
    color: #005C4B;
    text-decoration: none;
    font-weight: 500;
}

.login-link a:hover {
    text-decoration: underline;
}

/* Package Selection Button */
.package-select-btn {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 24px;
}

.package-select-btn:hover {
    border-color: #005C4B;
    background: #f8f9fa;
}

.package-select-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.package-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.package-text {
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
}

.package-selected {
    background: #f0f8ff;
    border-color: #005C4B;
}

.package-selected .package-icon {
    background: linear-gradient(135deg, #005C4B 0%, #45b5d8 100%);
    color: white;
}

.terms-text {
    font-size: 12px;
    color: #156a4c;
    margin-bottom: 24px;
}

.terms-text a {
    color: #005C4B;
    text-decoration: none;
}

/* Modal Styles */
.modal-content {
    border-radius: 12px;
    border: none;
}

.modal-header {
    border-bottom: 1px solid #dee2e6;
    padding: 20px 24px;
}

.modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
}

.modal-body {
    padding: 24px;
}

.package-card {
    border: 2px solid #dee2e6;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 16px;
    transition: all 0.2s;
    cursor: pointer;
}

.package-card:hover {
    border-color: #005C4B;
    box-shadow: 0 4px 12px rgba(26, 115, 168, 0.15);
}

.package-header {
    text-align: center;
    margin-bottom: 20px;
}

.package-icon-modal {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 12px;
}

.package-icon-modal.starter {
    background: #e3f2fd;
    color: #1976d2;
}

.package-icon-modal.professional {
    background: #e8f5e9;
    color: #388e3c;
}

.package-icon-modal.enterprise {
    background: #fff3e0;
    color: #f57c00;
}

.package-price {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.package-period {
    font-size: 13px;
    color: #156a4c;
}

.package-name {
    font-size: 16px;
    font-weight: 600;
    color: #005C4B;
    margin-bottom: 8px;
}

.package-description {
    font-size: 13px;
    color: #156a4c;
    margin-bottom: 20px;
}

.package-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.package-features li {
    font-size: 13px;
    color: #495057;
    padding: 6px 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.package-features li i {
    color: #005C4B;
    margin-top: 2px;
}

.btn-select-package {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
}

.step-content {
    display: none;
}

.step-content.active {
    display: block;
}

.payment-method-card {
    cursor: pointer;
    transition: all 0.2s;
}

.payment-method-card:hover {
    border-color: #005C4B !important;
    background-color: #f8f9fa;
}

.payment-method-card:has(input:checked) {
    border-color: #005C4B !important;
    background-color: #e7f3ff;
}

/* Language Selector Styles */
.language-selector {
    position: relative;
}

.language-selector .btn {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 8px 16px;
    color: #005C4B;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.language-selector .btn:hover {
    border-color: #005C4B;
    background: #f8f9fa;
}

.language-selector .btn i {
    font-size: 16px;
    color: #156a4c;
}

.language-selector .dropdown-menu {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #dee2e6;
    padding: 8px 0;
    min-width: 200px;
}

.language-selector .dropdown-item {
    padding: 10px 16px;
    font-size: 14px;
    color: #1a1a1a;
    transition: all 0.2s;
}

.language-selector .dropdown-item:hover {
    background-color: #f8f9fa;
    color: #005C4B;
}

.language-selector .dropdown-item img {
    object-fit: cover;
    border-radius: 2px;
}

.language-selector .dropdown-item i.bx-check-circle {
    font-size: 16px;
}

@media (max-width: 768px) {
    .logo-container > div {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start !important;
    }

    .language-selector {
        width: 100%;
    }

    .language-selector .btn {
        width: 100%;
        justify-content: space-between;
    }
}
