﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background: linear-gradient(135deg, #2d6a4f 0%, #1b4332 100%);
    min-height: 100vh;
    padding: 20px;
}

.register-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.register-header {
    text-align: center;
    margin-bottom: 30px;
}

.back-link {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    margin-bottom: 20px;
    padding: 10px 20px;
    background: rgba(255,255,255,0.2);
    border-radius: 8px;
    transition: all 0.3s;
}

    .back-link:hover {
        background: rgba(255,255,255,0.3);
        transform: translateX(-5px);
    }

.register-header h1 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.register-header p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
}

.register-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-section {
    margin-bottom: 30px;
}

.section-title {
    font-size: 1.5rem;
    color: #2d6a4f;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #2d6a4f;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .section-title::before {
        content: "●";
        font-size: 1.2rem;
    }

.form-group {
    margin-bottom: 25px;
}

    .form-group label {
        display: block;
        font-weight: 500;
        color: #374151;
        margin-bottom: 8px;
        font-size: 0.95rem;
    }

.required {
    color: #ef4444;
    font-weight: bold;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Vazirmatn', sans-serif;
    transition: all 0.3s;
    background: #f9fafb;
}

    .form-control:focus {
        outline: none;
        border-color: #2d6a4f;
        background: #fff;
        box-shadow: 0 0 0 4px rgba(45, 106, 79, 0.1);
    }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.btn-primary {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #2d6a4f 0%, #1b4332 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Vazirmatn', sans-serif;
    box-shadow: 0 4px 15px rgba(45, 106, 79, 0.4);
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(45, 106, 79, 0.6);
    }

    .btn-primary:active {
        transform: translateY(0);
    }

.error-message {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 6px;
    display: block;
    animation: shake 0.3s;
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

.message-label {
    display: block;
    padding: 12px;
    border-radius: 8px;
    margin-top: 15px;
    text-align: center;
    font-weight: 500;
}

.success-message {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.error-label {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.info-message {
    background: #dcfce7;
    color: #14532d;
    border: 1px solid #86efac;
}

.file-upload-wrapper {
    position: relative;
    overflow: hidden;
    display: inline-block;
    width: 100%;
}

    .file-upload-wrapper input[type=file] {
        font-size: 100px;
        position: absolute;
        left: 0;
        top: 0;
        opacity: 0;
        cursor: pointer;
    }

.file-upload-label {
    display: block;
    padding: 14px 16px;
    background: #f9fafb;
    border: 2px dashed #e5e7eb;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

    .file-upload-label:hover {
        border-color: #2d6a4f;
        background: #f0fdf4;
    }

.file-upload-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

    .progress-steps::before {
        content: '';
        position: absolute;
        top: 20px;
        left: 0;
        right: 0;
        height: 2px;
        background: #e5e7eb;
        z-index: 0;
    }

.step {
    font-family: 'Vazirmatn', sans-serif;
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-weight: bold;
    transition: all 0.3s;
}

.step.active .step-circle {
    background: #2d6a4f;
    color: #fff;
    box-shadow: 0 0 0 4px rgba(45, 106, 79, 0.2);
}

.step.completed .step-circle {
    background: #40916c;
    color: #fff;
}

.step-label {
    font-size: 0.85rem;
    color: #6b7280;
}

.step.active .step-label {
    color: #2d6a4f;
    font-weight: 600;
}

.help-text {
    font-size: 0.85rem;
    color: #6b7280;
    margin-top: 5px;
}

.verification-code-input {
    text-align: center;
    font-size: 1.5rem;
    letter-spacing: 10px;
    font-weight: bold;
}

.resend-code {
    text-align: center;
    margin-top: 15px;
    color: #2d6a4f;
    cursor: pointer;
    font-size: 0.9rem;
}

    .resend-code:hover {
        text-decoration: underline;
    }
