﻿/* استایل برای پیغام‌ها */
.psychology-alert {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    z-index: 1050;
}

    .psychology-alert .modal-content {
        background-color: white;
        border-radius: 8px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
        width: 100%;
        max-width: 600px; /* اندازه بزرگتر */
        padding: 20px;
    }

    .psychology-alert .modal-header {
        background-color: #f1f1f1;
        padding: 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .psychology-alert .modal-title {
        font-size: 1.5rem;
        font-weight: bold;
        margin: 0;
    }

    .psychology-alert .modal-body {
        padding: 20px;
        font-size: 1.2rem;
    }

    /* رنگ موفقیت (سبز) */
    .psychology-alert.success .modal-content {
        border-left: 5px solid #28a745;
    }

    .psychology-alert.success .modal-header {
        background-color: #28a745;
        color: white;
    }

    /* رنگ خطا (صورتی) */
    .psychology-alert.error .modal-content {
        border-left: 5px solid #e83e8c;
    }

    .psychology-alert.error .modal-header {
        background-color: #e83e8c;
        color: white;
    }

    /* دکمه‌ها */
    .psychology-alert .btn-close {
        border: none;
        background: none;
        font-size: 1.5rem;
        color: inherit;
    }

    .psychology-alert .btn {
        padding: 10px 25px;
        font-size: 1rem;
        font-weight: bold;
    }


.btn-ok {
    display: inline-block;
    width: 100%;
    background-color: #4a90e2;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    margin-top: 0.5rem;
    transition: background-color 0.3s ease;
}

    .btn-ok:hover {
        background-color: green;
    }