@font-face {
    font-family: 'IRANSans';
    src: url('../fonts/IRANSansWeb.woff2') format('woff2'),
         url('../fonts/IRANSansWeb.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'IRANSans';
    src: url('../fonts/IRANSansWeb_Bold.woff2') format('woff2'),
         url('../fonts/IRANSansWeb_Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

:root {
    --primary-color: #2C3E50;
    --secondary-color: #fd9d37;
    --accent-color: #3498DB;
    --text-color: #2C3E50;
    --light-bg: #ECF0F1;
}

body {
    background-color: var(--light-bg);
    font-family: 'IRANSans', sans-serif;
    color: var(--text-color);
}

.register-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

.register-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.register-header {
    background: var(--primary-color);
    color: white;
    padding: 2rem;
    text-align: center;
}

.register-body {
    padding: 2rem;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4rem;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--light-bg);
    z-index: 1;
}

.progress-bar {
    position: absolute;
    top: 50%;
    left: 0;
    height: 2px;
    background: var(--secondary-color);
    z-index: 2;
    transition: width 0.3s ease;
}

.step {
    width: 40px;
    height: 40px;
    background: white;
    border: 2px solid var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 3;
    transition: all 0.3s ease;
}

.step.active {
    border-color: var(--secondary-color);
    background: var(--secondary-color);
    color: white;
}

.step.completed {
    border-color: var(--secondary-color);
    background: var(--secondary-color);
    color: white;
}

.step-label {
    position: absolute;
    top: 45px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    color: var(--text-color);
    white-space: nowrap;
}

.form-floating {
    margin-bottom: 1rem;
}

.form-floating > .form-control {
    padding: 1rem 0.75rem;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

.form-floating > .form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

.form-floating > label {
    padding: 1rem 0.75rem;
    color: var(--text-color);
}

.btn-register {
    background: var(--secondary-color);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    border: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-register:hover {
    background: #e4c39f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.terms-check {
    background: var(--light-bg);
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.form-check-input:checked {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.form-text {
    color: #7f8c8d;
    font-size: 0.85rem;
}

.input-group-text {
    background-color: var(--primary-color);
    color: white;
    border: none;
}

.alert-danger {
    background-color: #fde8e8;
    border-color: #fbd5d5;
    color: #c81e1e;
}

.mobile-display {
    background: var(--light-bg);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-color);
}

.verification-code {
    letter-spacing: 8px;
    font-size: 1.2rem;
    text-align: center;
}

.resend-code {
    text-align: center;
    margin-top: 1rem;
}

.btn-resend {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-resend:hover {
    background: #1a252f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 62, 80, 0.3);
}

.btn-resend:disabled {
    background: var(--light-bg);
    cursor: not-allowed;
}

.timer {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-color);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .register-card {
        margin: 1rem;
    }
    
    .step-label {
        font-size: 0.7rem;
    }

    .form-floating.d-flex {
        flex-direction: column;
        position: relative;
    }

    .form-floating.d-flex .input-group-text {
        border-radius: 0;
        margin: 0;
        z-index: 2;
    }

    .form-floating.d-flex .input-group-text:first-child {
        border-radius: 0.375rem 0.375rem 0 0;
    }

    .form-floating.d-flex .input-group-text:last-child {
        border-radius: 0 0 0.375rem 0.375rem;
    }

    .form-floating.d-flex .form-control {
        border-radius: 0;
        margin: 0;
        z-index: 1;
    }

    .form-floating.d-flex label {
        right: 0 !important;
        z-index: 3;
        background: white;
        padding: 0 0.75rem;
        height: auto;
        transform: scale(.85) translateY(4.0rem) translateX(0.15rem);
    }

    .form-floating.d-flex .form-control:focus ~ label,
    .form-floating.d-flex .form-control:not(:placeholder-shown) ~ label {
        transform: scale(.85) translateY(-0.5rem) translateX(0.15rem);
        opacity: 1;
    }

    .form-floating.d-flex .form-control:focus,
    .form-floating.d-flex .form-control:not(:placeholder-shown) {
        padding-top: 1.625rem;
        padding-bottom: 0.625rem;
    }
} 