﻿* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'iran-yekan';
}

img {
    width: 100%;
}

body {
    direction: rtl;
    background-color: #f5f5f5
}

.d-none {
    display: none !important;
}

.left-panel {
    width: 50%;
    display: none;
}

.right-panel {
    width: 90%;
}

@media (min-width:992px) {
    .left-panel {
        width: 50%;
        display: flex;
    }

    .right-panel {
        width: 50%
    }
}

@media (min-width:1279px) {
    .left-panel {
        width: 60%
    }

    .right-panel {
        width: 40%
    }
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    height: 100vh;
    background-image: url('/images/modern-office.jpg');
    background-size: cover
}

.login-page-wrapper {
    position: absolute;
    width: 80%;
    height: 80vh;
    display: flex;
    justify-content: center
}

.left-panel {
    background: url('/images/background.jpg') no-repeat center center/cover;
    position: relative;
    color: #fff;
    justify-content: center;
    align-items: flex-end;
    padding: 40px;
    opacity: 0.5
}

.right-panel {
    flex: 1;
    background: #e5eaee;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    opacity: 0.8;
}

.left-panel .quote {
    background: rgba(0, 0, 0, .5);
    padding: 15px 25px;
    border-radius: 10px;
    font-size: 18px;
    text-align: center
}

.login-box {
    min-width: 250px;
    text-align: center
}

.logo {
    width: 150px;
    margin-bottom: 30px
}

.input-group {
    position: relative;
    margin-bottom: 20px
}

    .input-group input {
        width: 100%;
        padding: 12px 12px 12px 40px;
        border: 1px solid #ccc;
        border-radius: 6px;
        font-size: 15px;
        direction: ltr;
        text-align: center;
    }

    .input-group .icon {
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 18px;
        width: 24px;
    }

        .input-group .icon.captcha {
            left: 0px;
            right: 0px;
            height: 50px;
            width: 120px;
            background: white;
            border: 1px solid #ccc;
            border-radius: 0px 6px 6px 0px;
            border-left: 0px;
        }

    .input-group #captchaCode {
        width: calc(100% - 120px);
        margin: 0px 120px 0px 0px;
        padding: 12px 0px 11px 0px;
        border-radius: 6px 0px 0px 6px;
    }

.icon {
    display: flex;
    align-items: center; /* Vertical centering */
    justify-content: center;
}


button {
    width: 100%;
    padding: 12px;
    background-color: #0d47a1;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px
}

    button:hover {
        background-color: #093a85
    }

.bottom-links {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
    font-size: 14px
}

    .bottom-links a {
        margin: 0 6px;
        color: #0d47a1;
        text-decoration: none
    }

.verification-box {
    max-width: 300px;
    margin: 30px auto;
    text-align: center;
}

.code-input {
    border: 1px solid #ccc;
    border-radius: 6px;
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    font-size: 16px;
    text-align: center;
}

.timer {
    font-size: 18px;
    margin-bottom: 10px;
}

#resendBtn {
    padding: 10px 20px;
    background-color: #0d47a1;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

    #btnLogin:disabled, #resendBtn:disabled {
        background-color: #999;
        cursor: not-allowed;
    }
