﻿/* Shared modern auth page styling (Bootstrap 3 compatible, RTL friendly) */

.auth-bg-modern {
    background: linear-gradient(180deg, #f5fbff 0%, #ffffff 55%);
}

.auth-row {
    min-height: 70vh;
    margin-top: 35px;
    margin-bottom: 35px;
}

.auth-split {
    margin-top: 18px;
}

.auth-panel {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(17, 24, 39,0.08);
    border: 0;
    overflow: hidden;
    padding: 18px 18px 20px 18px;
    direction: rtl;
}

.auth-panel--pad {
    padding: 18px;
}

.auth-title {
    font-size: 26px;
    margin: 8px 0 18px 0;
    font-weight: 700;
    color: #0d9488;
}

.auth-input-group-addon {
    background: #f7f7f7;
    border: 1px solid #e7eaee;
    color: #333;
    width: 46px;
    padding: 0;
    text-align: center;
    border-radius: 10px 0 0 10px;
    height: 42px;
    line-height: 42px;
    font-size: 18px;
}

.auth-form-control {
    height: 42px;
    border-radius: 10px;
    border: 1px solid #e7eaee;
    text-align: right;
    font-size: 16px;
    width: 100%;
}

.auth-input-group {
    width: 100%;
}

.auth-input-group .auth-form-control {
    border-right: 0;
}

.auth-primary-btn {
    background: #0d9488;
    border-color: #0d9488;
    border-radius: 10px;
    padding: 10px 12px;
    font-weight: 600;
    font-size: 16px;
}

.auth-outline-btn {
    border-radius: 10px;
    padding: 10px 12px;
    border: 1px solid #cfd8dc;
    background: transparent;
    font-size: 16px;
}

.auth-link {
    color: #0d9488 !important;
    font-size: 16px;
    text-decoration: none;
}

.auth-image-box {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(17, 24, 39,0.08);
    overflow: hidden;
    min-height: 360px;
    height: 100%;
}

.auth-image-box img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    display: block;
}

.auth-alert {
    margin-bottom: 16px;
}

@media (max-width: 767px) {
    .auth-row { margin-top: 15px; margin-bottom: 15px; }
    .auth-panel { padding: 16px; }
    .auth-title { font-size: 24px; }
    .auth-form-control { height: 44px; }
    .auth-input-group-addon { height: 44px; line-height: 44px; }
    .auth-image-box { margin-top: 18px; min-height: 220px; }
    .auth-image-box img { min-height: 220px; }
}

