:root{
    --second-color: #ffe17e;
    --second-color-hover: #c7ab4a;
}
.resana-auth-container {
    max-width: 400px;
    margin: 100px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    direction: rtl;
}
.error-message {
    color: #ba0303;
    padding: 5px;
    border-right: 2px solid #ba0303;
    font-size: 14px;
}
.resana-auth-error {
    background-color: #ff5252;
    color: white;
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 15px;
    display: none;
    text-align: right;
    font-size: 14px;
}

.resana-auth-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #d6cdb2;
}

.tab-button {
    flex: 1;
    padding: 10px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 14px;
    color: white;
    transition: all 0.3s ease;
}

.tab-button.active {
    color: var(--second-color);
    border-bottom: 3px solid var(--second-color);
    margin-bottom: -2px;

    /*color: #2196F3;*/
    /*border-bottom: 2px solid #2196F3;*/
}

.resana-auth-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background: #ddd;
}

.form-hint {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #efefef;
}

.submit-button {
    width: 100%;
    padding: 10px;
    background: var(--second-color);
    /*background: #007bff;*/
    color: black;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.submit-button:hover {
    /*background: #0056b3;*/
    background: var(--second-color-hover);
}

.submit-button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.form-footer {
    margin-top: 15px;
    text-align: center;
}

.form-footer a {
    color: var(--second-color);
    /*color: #007bff;*/
    text-decoration: none;
}

.form-footer a:hover {
    text-decoration: underline;
}

.separator {
    margin: 0 10px;
    color: #ccc;
}
#reset-password-step1 .timer {
    position: relative;
    bottom: -16px;
}
.verification-group {
    position: relative;
}

#verification-code {
    /*text-align: center;
    letter-spacing: 4px;
    font-size: 18px;*/
}

.timer {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #666;
}

.required {
    color: #dc3545;
}

/* RTL Support */
.resana-auth-container {
    direction: rtl;
    text-align: right;
    /*z-index: 17;*/
    position: relative;
    background: #646464;
    color: white;
}

.timer {
    left: auto;
    right: 10px;
    color: wheat;
}

/* Loading Animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.submit-button:disabled::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 8px;
    border: 2px solid #fff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
    vertical-align: middle;
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
    .resana-auth-container {
        max-width: 100%;
        margin: 0;
        border-radius: 0;
        box-shadow: none;
    }
} 