#otino-profile-popup.otino-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgb(255 255 255);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    overflow-y: auto;
}

#otino-profile-popup .otino-popup-container {
    max-width: 480px;
    width: 90%;
    max-height: 90vh;
    overflow-y: visible;
}

@keyframes otino-popup-slide-in {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.otino-popup-header {
    text-align: center;
}

.otino-popup-header h3 {
    margin: 0;
    font-size: 25px;
    letter-spacing: -0.02em;
    color: #294559;
    font-weight: 700;
}

.otino-popup-content {
    padding: 5px 24px 24px;
}

.otino-popup-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 20px 0;
    text-align: center;
}

.otino-form-row {
    margin-bottom: 16px;
}

.otino-form-row label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.otino-form-row input[required],
.otino-form-row select[required],
.otino-form-row textarea[required] {
    border-color: #ffc107 !important;
}

.otino-form-row input[required]:focus,
.otino-form-row select[required]:focus,
.otino-form-row textarea[required]:focus {
    border-color: var(--var-otino-main-color) !important;
    box-shadow: 0 0 0 3px rgba(12, 192, 223, 0.1);
}

.otino-form-row input[type="text"],
.otino-form-row input[type="email"],
.otino-form-row input[type="tel"],
.otino-form-row select,
.otino-form-row textarea {
    outline: 0;
    padding: 11px 10px !important;
    border: 1px solid #dcdcdc !important;
    border-radius: 14px !important;
    transition: all .2s !important;
    width: 100%;
    margin: 0 !important;
    text-align: center;
    font-size: 16px;
    direction: ltr;
    box-sizing: border-box;
    line-height: 1.5em;
    font-family: inherit;
}

.otino-form-row textarea {
    min-height: 80px;
    resize: vertical;
    text-align: right;
}

.otino-birth-picker {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.otino-form-row select {
    cursor: pointer;
    background-color: #fff;
    text-align: right;
    direction: rtl;
}

.otino-form-row input[type="text"]:focus,
.otino-form-row input[type="email"]:focus,
.otino-form-row input[type="tel"]:focus,
.otino-form-row select:focus,
.otino-form-row textarea:focus {
    outline: none;
    border-color: var(--var-otino-main-color);
    box-shadow: 0 0 0 3px rgba(12, 192, 223, 0.1);
}

.otino-popup-buttons {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    flex-direction: row-reverse;
}

.otino-btn {
    flex: 1;
    font-weight: 600;
    padding: 12px !important;
    cursor: pointer;
    font-size: 18px;
    border: none;
    font-family: inherit;
    border-radius: 15px !important;
    margin: 0 !important;
}

.otino-btn-primary {
    background-color: var(--var-otino-main-color) !important;
    color: #fff !important;
}

.otino-btn-secondary {
    background: #f8f9fa;
    color: #6c757d;
    border: 1px solid #e5e7eb;
}

.otino-btn-secondary:hover {
    background: #e9ecef;
    color: #495057;
}

.otino-popup-message {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    text-align: center;
    display: none;
}

.otino-popup-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.otino-popup-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.otino-popup-loading {
    pointer-events: none;
}

.otino-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* ریسپانسیو */
@media (max-width: 480px) {
    .otino-popup-container {
        width: 95%;
        margin: 0 10px;
    }
    
    .otino-popup-content {
        padding: 20px;
    }
    
    .otino-popup-buttons {
        flex-direction: column;
    }
    
    .otino-btn {
        width: 100%;
    }
}