:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --success-color: #10b981;
    --error-color: #ef4444;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --border-color: #d1d5db;
    --background-color: #f9fafb;
    --white: #ffffff;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

.register-container {
    min-height: auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 20px 16px 20px;
}

.register-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 30px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    min-height: auto;
    overflow: hidden;
    box-sizing: border-box;
}

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

.register-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 8px;
}

.register-subtitle {
    font-size: 16px;
    color: var(--text-light);
    font-weight: 400;
}

.form-section {
    margin-bottom: 30px;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    color: var(--primary-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
    position: relative;
}

.form-row:has(.phone-input-container) {
    align-items: start;
}

.form-row.single {
    grid-template-columns: 1fr;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
    font-size: 14px;
}

.form-label.required::after {
    content: '*';
    color: var(--error-color);
    margin-left: 4px;
}

.form-input,
.form-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    background: var(--white);
    transition: border-color 0.2s ease;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-input::placeholder {
    color: var(--text-light);
}

.form-input.error {
    border-color: var(--error-color);
}

.form-input.success {
    border-color: var(--success-color);
}

.phone-input-container {
    display: flex;
    gap: 12px;
    margin-bottom: 0;
}

.country-select {
    flex: 0 0 120px;
}

.form-group:has(.phone-input-container) {
    margin-bottom: 30px;
}

.form-group:has(.phone-input-container) .field-error {
    margin-top: 12px;
    padding-left: 2px;
    position: static !important;
    clear: both !important;
    display: block !important;
    width: 100% !important;
    float: none !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
}

.phone-input-container {
    display: flex;
    gap: 12px;
    margin-bottom: 0;
    position: static;
    float: none;
}

.field-error {
    color: var(--error-color);
    font-size: 12px;
    margin-top: 8px;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    line-height: 1.4;
    position: static !important;
    clear: both !important;
    float: none !important;
    width: 100% !important;
}

.terms-section {
    margin: 30px 0;
    padding: 20px;
    background: var(--background-color);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.step-content {
    display: none !important;
    opacity: 0;
    visibility: hidden;
    animation: fadeIn 0.3s ease;
    min-height: 0;
    height: auto;
    margin: 0;
    padding: 0;
}

.step-content.active {
    display: block !important;
    opacity: 1;
    visibility: visible;
    min-height: 0;
    height: auto;
}

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

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

.submit-button {
    width: 100%;
    padding: 16px 16px;
    background: linear-gradient(135deg, #5A3BED 0%, #667eea 50%, #764ba2 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow:
        0 4px 15px rgba(90, 59, 237, 0.25),
        0 2px 6px rgba(90, 59, 237, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    letter-spacing: 0.02em;
    white-space: nowrap;
    text-overflow: ellipsis;
    box-sizing: border-box;
}

.submit-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow:
        0 6px 20px rgba(90, 59, 237, 0.35),
        0 4px 12px rgba(90, 59, 237, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.submit-button:active:not(:disabled) {
    transform: translateY(0);
    box-shadow:
        0 2px 8px rgba(74, 43, 200, 0.4),
        0 1px 4px rgba(74, 43, 200, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.submit-button:disabled {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e0 100%);
    color: #a0aec0;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.back-button {
    background: rgba(255, 255, 255, 0.9);
    color: #5A3BED;
    border: 2px solid rgba(90, 59, 237, 0.3);
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-right: 12px;
    backdrop-filter: blur(10px);
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.06),
        0 1px 4px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.back-button:hover {
    background: rgba(90, 59, 237, 0.08);
    border-color: rgba(90, 59, 237, 0.5);
    transform: translateY(-1px);
    box-shadow:
        0 4px 16px rgba(90, 59, 237, 0.15),
        0 2px 8px rgba(90, 59, 237, 0.1);
    color: #4A2BC8;
}

.back-button:active {
    transform: translateY(0);
    box-shadow:
        0 2px 8px rgba(90, 59, 237, 0.2),
        0 1px 4px rgba(90, 59, 237, 0.1);
}

.back-button i {
    font-size: 14px;
    transition: transform 0.2s ease;
}

.back-button:hover i {
    transform: translateX(-2px);
}

.back-button span {
    font-weight: 600;
    letter-spacing: 0.02em;
}

.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
    padding: 16px;
    background: rgba(90, 59, 237, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(90, 59, 237, 0.1);
    transition: all 0.2s ease;
}

.checkbox-container.error {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.05);
}

.checkbox-container.error .checkbox-text {
    color: #ef4444;
}

.checkbox-container input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: #5A3BED;
    cursor: pointer;
    border-radius: 4px;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-text {
    font-size: 14px;
    line-height: 1.5;
    color: #4a5568;
    font-weight: 500;
}

.checkbox-text a {
    color: #5A3BED;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.checkbox-text a:hover {
    color: #4A2BC8;
    text-decoration: underline;
}

.alert {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.alert-error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(185, 28, 28, 0.05));
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #991b1b;
}

.alert-success {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(21, 128, 61, 0.05));
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: #166534;
}

.progress-container {
    margin-bottom: 30px;
}

.progress-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--border-color);
    z-index: 1;
}

.progress-line {
    position: absolute;
    top: 50%;
    left: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
    z-index: 2;
}

.progress-step {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-light);
    position: relative;
    z-index: 3;
    transition: all 0.2s ease;
}

.progress-step.active {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.progress-step.completed {
    border-color: var(--success-color);
    background: var(--success-color);
    color: var(--white);
}

.progress-labels {
    display: flex;
    justify-content: space-between;
}

.progress-label {
    font-size: 12px;
    color: var(--text-light);
    text-align: center;
    flex: 1;
    font-weight: 500;
}

.progress-label.active {
    color: var(--primary-color);
}

.summary-section {
    margin-bottom: 30px;
}

.summary-card {
    background: var(--background-color);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.summary-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-color);
}

.summary-header i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.summary-header h3 {
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.summary-content {
    display: grid;
    gap: 12px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(209, 213, 219, 0.5);
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-label {
    font-weight: 500;
    color: var(--text-light);
    font-size: 0.9rem;
}

.summary-value {
    font-weight: 600;
    color: var(--text-color);
    text-align: right;
    word-break: break-all;
}

.form-input.form-textarea {
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
    line-height: 1.5;
}

textarea.form-input {
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
    line-height: 1.5;
}

.step-buttons {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 20px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.step-buttons:has(.submit-button:only-child) {
    justify-content: flex-end;
}

.back-button {
    flex: 0 1 auto;
    min-width: 100px;
    max-width: calc(50% - 8px);
    padding: 12px 8px;
    background: var(--white);
    color: var(--text-color);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
}

.back-button:hover {
    background: var(--background-color);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.step-buttons .submit-button {
    flex: 0 1 auto;
    min-width: 100px;
    max-width: calc(50% - 8px);
    margin-bottom: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
    padding: 12px 8px;
}

@media (max-width: 768px) {
    .register-container {
        padding: 16px 12px 12px;
    }

    .register-card {
        padding: 20px;
    }

    .register-title {
        font-size: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .form-input,
    .form-select {
        padding: 14px 16px;
        font-size: 16px;
    }

    .progress-step {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .progress-label {
        font-size: 10px;
    }

    .step-buttons {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }

    .back-button {
        order: 2;
        width: 100%;
        min-width: auto;
        max-width: none;
        padding: 14px 16px;
        font-size: 14px;
    }

    .step-buttons .submit-button {
        order: 1;
        width: 100%;
        min-width: auto;
        max-width: none;
        padding: 16px;
        font-size: 16px;
    }

    .summary-card {
        padding: 16px;
        margin-bottom: 16px;
    }

    .summary-header h3 {
        font-size: 1rem;
    }

    .summary-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .summary-value {
        text-align: left;
        font-size: 0.9rem;
    }

    .summary-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .register-card {
        padding: 18px;
        margin: 8px;
    }

    .register-title {
        font-size: 18px;
    }

    .section-title {
        font-size: 14px;
        gap: 8px;
    }

    .phone-input-container {
        gap: 8px;
        flex-direction: column;
    }

    .country-select {
        flex: none;
        width: 100%;
    }

    .step-buttons {
        gap: 8px;
        margin-top: 16px;
    }

    .submit-button {
        padding: 14px 12px;
        font-size: 14px;
        min-height: 48px;
    }

    .back-button {
        padding: 14px 12px;
        font-size: 14px;
        min-height: 48px;
    }

    .progress-container {
        margin-bottom: 20px;
    }

    .progress-label {
        font-size: 9px;
        text-align: center;
    }

    .form-input,
    .form-select {
        font-size: 16px;
        padding: 12px 14px;
    }
}

@media (max-width: 320px) {
    .register-container {
        padding: 12px 6px;
    }

    .register-card {
        padding: 16px;
        margin: 4px;
        max-width: calc(100vw - 16px);
    }

    .step-buttons {
        gap: 6px;
        margin-top: 12px;
    }

    .back-button {
        min-width: 80px;
        padding: 12px 6px;
        font-size: 12px;
        gap: 4px;
    }

    .step-buttons .submit-button {
        min-width: 80px;
        padding: 12px 6px;
        font-size: 12px;
    }

    .register-title {
        font-size: 16px;
    }

    .section-title {
        font-size: 12px;
        gap: 6px;
    }

    .progress-label {
        font-size: 8px;
    }
}

.application-status-content {
    text-align: center;
    padding: 20px 20px 10px;
}

.status-icon-container {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.status-icon {
    font-size: 48px;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}

.status-icon.success {
    color: var(--success-color);
}

.status-icon.pending {
    color: #f59e0b;
}

.status-icon.rejected {
    color: #ef4444;
}

.status-icon.deleted {
    color: #6b7280;
}

.status-icon.unknown {
    color: #9ca3af;
}

.status-pulse {
    display: none;
}

.animated-icon,
.animated-title,
.animated-subtitle,
.animated-badge {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.8s ease;
}

.animated-icon.animate-in,
.animated-title.animate-in,
.animated-subtitle.animate-in,
.animated-badge.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.status-message h2 {
    font-size: 24px;
    color: var(--text-color);
    margin-bottom: 8px;
    font-weight: 600;
}

.status-message p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.status-timeline {
    margin: 30px 0;
    position: relative;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.5s ease;
}

.timeline-item.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.timeline-item.active .timeline-dot {
    background: var(--success-color);
    border-color: var(--success-color);
}

.timeline-item.active .timeline-content h4 {
    color: var(--success-color);
}

.timeline-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e5e7eb;
    border: 2px solid #d1d5db;
    margin-right: 16px;
    flex-shrink: 0;
    margin-top: 4px;
    position: relative;
}

.timeline-dot::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 40px;
    background: #e5e7eb;
}

.timeline-item:last-child .timeline-dot::before {
    display: none;
}

.timeline-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 4px;
}

.timeline-content p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

.application-info {
    background: var(--background-color);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    text-align: left;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.info-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.info-header i {
    color: var(--primary-color);
    font-size: 18px;
}

.info-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.info-row.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--text-color);
    font-size: 14px;
}

.info-label i {
    color: var(--primary-color);
    width: 16px;
    text-align: center;
}

.info-value {
    color: var(--text-light);
    font-size: 14px;
    word-break: break-all;
    text-align: right;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.status-badge.pending {
    background: #fef3c7;
    color: #92400e;
}

.status-badge.approved {
    background: #d1fae5;
    color: #065f46;
}

.status-badge.rejected {
    background: #fee2e2;
    color: #991b1b;
}

.status-badge.deleted {
    background: #f3f4f6;
    color: #374151;
}

.status-badge.unknown {
    background: #e5e7eb;
    color: #6b7280;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    animation: dot-pulse 2s infinite;
}

@keyframes dot-pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.action-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-width: 120px;
    justify-content: center;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--text-color);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background: var(--background-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.security-message {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 14px;
    margin-top: 30px;
    text-align: center;
    justify-content: center;
}

.security-message i {
    color: var(--success-color);
}

.enhanced-footer {
    background: var(--background-color);
    border-radius: 8px;
    padding: 16px;
    margin-top: 20px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-text {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 14px;
}

.footer-text i {
    color: var(--success-color);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-hover);
}

.separator {
    color: var(--text-light);
    font-size: 14px;
}

.progress-line.completed-full {
    width: 100%;
    background: var(--success-color);
}

.progress-step.completed {
    background: var(--success-color);
    color: white;
}

.progress-label.completed {
    color: var(--success-color);
    font-weight: 600;
}

@media (max-width: 768px) {
    .application-status-content {
        padding: 16px 16px 8px;
    }

    .status-icon {
        font-size: 40px;
        margin-bottom: 12px;
    }

    .status-pulse {
        width: 60px;
        height: 60px;
    }

    .status-message h2 {
        font-size: 20px;
    }

    .status-message p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .timeline-item {
        margin-bottom: 16px;
    }

    .timeline-content h4 {
        font-size: 14px;
    }

    .timeline-content p {
        font-size: 12px;
    }

    .application-info {
        padding: 16px;
        margin-bottom: 12px;
    }

    .info-header h3 {
        font-size: 16px;
    }

    .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 8px 0;
    }

    .info-label {
        font-size: 12px;
    }

    .info-value {
        font-size: 12px;
        text-align: left;
    }

    .action-buttons {
        flex-direction: column;
        gap: 8px;
    }

    .btn {
        width: 100%;
        padding: 14px 20px;
    }

    .security-message {
        font-size: 12px;
        margin-top: 24px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .footer-text {
        justify-content: center;
        font-size: 12px;
    }

    .footer-links {
        font-size: 12px;
    }
}

.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
    max-width: 400px;
}

.toast {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
    border-left: 4px solid;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-success {
    background: #f0f9ff;
    border-left-color: #10b981;
    color: #065f46;
}

.toast-error {
    background: #fef2f2;
    border-left-color: #ef4444;
    color: #991b1b;
}

.toast-warning {
    background: #fffbeb;
    border-left-color: #f59e0b;
    color: #92400e;
}

.toast-info {
    background: #eff6ff;
    border-left-color: #3b82f6;
    color: #1e40af;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.toast-content i {
    font-size: 16px;
}

.toast-close {
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    padding: 4px;
    border-radius: 4px;
}

.toast-close:hover {
    opacity: 1;
}

.error-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10001;
    animation: fadeIn 0.3s ease;
}

.error-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translate(-50%, -60%);
        opacity: 0;
    }

    to {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
}

.error-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.error-modal-header h3 {
    margin: 0;
    color: #dc2626;
    font-size: 18px;
    font-weight: 600;
}

.error-modal-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    color: #6b7280;
    transition: all 0.3s ease;
}

.error-modal-close:hover {
    background: #f3f4f6;
    color: #374151;
}

.error-modal-body {
    padding: 20px;
}

.error-modal-body>div {
    margin-bottom: 15px;
}

.error-modal-body>div:last-child {
    margin-bottom: 0;
}

.error-suggestion {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #f0f9ff;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #e0f2fe;
}

.error-suggestion i {
    color: #0369a1;
    margin-top: 2px;
}

.error-fields {
    background: #fef2f2;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #fecaca;
}

.error-fields h4 {
    color: #dc2626;
    margin: 0 0 10px 0;
    font-size: 14px;
    font-weight: 600;
}

.error-fields ul {
    margin: 0;
    padding-left: 20px;
}

.error-fields li {
    margin-bottom: 5px;
    color: #991b1b;
    font-size: 14px;
}

.error-modal-footer {
    padding: 20px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: flex-end;
}

.error-modal-btn {
    background: #5A3BED;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s ease;
}

.error-modal-btn:hover {
    background: #4A2BC8;
}

.field-error {
    margin-top: 5px;
    font-size: 12px;
}

.error-message {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #dc2626;
    font-weight: 500;
}

.error-message i {
    font-size: 12px;
}

.error-suggestion-inline {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #0369a1;
    margin-top: 4px;
    font-size: 11px;
}

.error-suggestion-inline i {
    font-size: 11px;
}

.form-input.error,
.form-select.error {
    border-color: #dc2626;
    background: #fef2f2;
}

.form-input.error:focus,
.form-select.error:focus {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.checkbox-container.error {
    border-color: #dc2626 !important;
    background: #fef2f2 !important;
}

.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 8px;
}

@media (max-width: 768px) {
    .toast-container {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }

    .error-modal-content {
        width: 95%;
        margin: 20px;
    }

    .error-modal-header,
    .error-modal-body,
    .error-modal-footer {
        padding: 15px;
    }
}

.login-credentials {
    margin-top: 30px;
    border: 2px solid #10b981;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border-radius: 16px;
    padding: 25px;
    box-shadow:
        0 8px 25px rgba(16, 185, 129, 0.15),
        0 4px 12px rgba(16, 185, 129, 0.1);
}

.login-credentials .info-header {
    color: #065f46;
    margin-bottom: 20px;
}

.login-credentials .info-header i {
    color: #10b981;
}

.credentials-alert {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border: 1px solid #10b981;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.credentials-alert i {
    color: #065f46;
    font-size: 18px;
}

.credentials-alert p {
    color: #065f46;
    font-weight: 500;
    margin: 0;
    font-size: 14px;
}

.password-placeholder {
    color: #6b7280;
    font-style: italic;
    font-size: 13px;
}

.login-actions {
    margin-top: 25px;
    text-align: center;
}

.login-actions .btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    box-shadow:
        0 4px 15px rgba(16, 185, 129, 0.25),
        0 2px 6px rgba(16, 185, 129, 0.15);
}

.login-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 6px 20px rgba(16, 185, 129, 0.35),
        0 4px 12px rgba(16, 185, 129, 0.25);
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.login-actions .btn:active {
    transform: translateY(0);
    box-shadow:
        0 2px 8px rgba(16, 185, 129, 0.4),
        0 1px 4px rgba(16, 185, 129, 0.3);
}

.login-actions .btn i {
    font-size: 14px;
}

.login-link {
    color: #10b981;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}

.login-link:hover {
    color: #059669;
    text-decoration: underline;
}

.login-link i {
    font-size: 12px;
}

.password-info {
    color: #6b7280;
    font-style: italic;
    font-size: 13px;
    line-height: 1.4;
}

.login-note {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 12px;
    margin-top: 20px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.login-note i {
    color: #d97706;
    font-size: 14px;
    margin-top: 2px;
}

.login-note p {
    color: #92400e;
    font-size: 13px;
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .login-credentials {
        margin-top: 20px;
        padding: 20px;
    }
    
    .credentials-alert {
        padding: 14px;
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .login-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .login-note {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}