﻿

.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-box {
    width: 500px;
    background: #f4f4f4;
    padding: 45px;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    text-align: center;
}

.logo img {
    width: 70px;
    height: 65px;
    margin-bottom: 10px;
}

.login-title {
    margin-bottom: 20px;
    color: #085A72;
    font-weight:bold;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: right;
}

.form-label {
    font-size: 14px;
    color: #444;
}

.form-input {
    padding: 13px;
    border-radius: 7px;
    border: 1px solid #ccc;
    font-size: 14px;
}

    .form-input:focus {
        outline: none;
        border-color: #0a3d62;
    }

.btn {
    padding: 13px;
    border: none;
    border-radius: 7px;
    cursor: pointer;
    font-size: 15px;
}

.btn-send,
.btn-login,
.btn-resend {
    background-color: #085A72 !important;
    color: #fff !important;
}

    .btn-send:hover,
    .btn-login:hover,
    .btn-resend:hover,
    .btn-send:active,
    .btn-login:active,
    .btn-resend:active,
    .btn-send:focus,
    .btn-login:focus,
    .btn-resend:focus {
        background-color: #085A72 !important;
        color: #fff !important;
        font-weight: 700;
    }



.timer {
    font-size: 13px;
    color: #666;
    margin-top: 10px;
}

.hidden {
    display: none;
}

.fade-in {
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* سایر روش‌های ورود */

.other-login {
    margin-top: 30px;
    border-top: 1px solid #ddd;
    padding-top: 15px;
}

.other-header {
    cursor: pointer;
    font-size: 14px;
    color: #085A72;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

    .other-header:hover {
        font-weight: 700;
    }

#otherArrow {
    transition: transform 0.3s ease;
    font-size: 16px;
}

    #otherArrow.rotate {
        transform: rotate(180deg);
    }

.other-body {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}

    .other-body.open {
        max-height: 350px;
        opacity: 1;
        margin-top: 20px;
    }
/* ===============================
   Responsive (Mobile & Tablet)
   =============================== */

@media (max-width: 768px) {

    .login-box {
        width: 92%;
        padding: 30px 20px;
        border-radius: 10px;
    }

    .login-title {
        font-size: 18px;
        margin-bottom: 20px;
    }



    .form-input {
        padding: 11px;
        font-size: 13px;
    }

    .btn {
        padding: 11px;
        font-size: 14px;
    }

    .other-login {
        margin-top: 25px;
    }

    .other-header {
        font-size: 13px;
    }
}

@media (max-width: 480px) {

    .login-box {
        width: 95%;
        padding: 25px 16px;
    }

    .login-title {
        font-size: 16px;
    }

    .form-label {
        font-size: 13px;
    }

    .timer {
        font-size: 12px;
    }
}
