﻿
@font-face {
    font-family: 'Vazirmatn-Regular';
    src: url('../Font/fontsVazirmatn/ttf/Vazirmatn-Regular.ttf') format('truetype');
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Vazirmatn-Regular';
}

body {
    direction: rtl;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    font-family: 'Vazirmatn-Regular','Arial', sans-serif;
    background-color: #00283f;
    flex-direction: column;
    /*background: linear-gradient(135deg, #42a5f5, #478ed1);*/
}


/* کانتینر اصلی */
main {
    flex: 1; /* محتوا فضای باقیمانده را پر می‌کند */
    padding-top: 20px; /* برای فاصله از نوبار */
}

.container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.form {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 30px;
    overflow: hidden;
}

.profile-image-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.profile-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #42a5f5;
    object-fit: cover;
    box-shadow: 0px 4px 12px rgba(66, 165, 245, 0.3);
}

h2 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 20px;
}

.input-group {
    margin-bottom: 15px;
}

    .input-group input {
        width: 100%;
        padding: 12px 15px;
        font-size: 1rem;
        border-radius: 8px;
        border: 1px solid #ddd;
        outline: none;
        transition: border-color 0.3s ease;
    }

        .input-group input:focus {
            border-color: #42a5f5;
        }

#otpButton button {
    width: 100%;
    background-color: #42a5f5;
    color: #fff;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    margin-bottom: 10px;
    transition: background-color 0.3s ease;
}

    #otpButton button:hover {
        background-color: #1e88e5;
    }

.submit-btn {
    width: 100%;
    background-color: #478ed1;
    color: #fff;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .submit-btn:hover {
        background-color: #3367b3;
    }

#sendOTPButton[disabled] {
    background-color: #ccc;
    cursor: not-allowed;
}

.otp-input::-webkit-inner-spin-button,
.otp-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* فوتر */
.footer {
    text-align: center;
    /*background-color: #fbc211;*/
    padding: 20px;
    margin-top: 50px;
}

.footer-logo {
    display: block;
    margin: 0 auto;
    width: 25px;
    height: auto;
}

.footer-copyright {
    color: #fbc211;
    margin-top: 10px;
    font-size: 14px;
    /*color: #666;*/
}
