﻿@font-face {
    font-family: 'IRANSansWeb';
    src: url('../../Fonts/IRANSansWeb(FaNum).ttf') format('woff2');
    font-weight: normal;
    font-style: normal;
}

.swal2-popup {
    font-family: 'IRANSansWeb', sans-serif; /* تنظیم فونت برای کل کادر SweetAlert */
}

.swal2-confirm {
    font-family: 'IRANSansWeb', sans-serif; /* تنظیم فونت برای دکمه تأیید */
}

.swal2-cancel {
    font-family: 'IRANSansWeb', sans-serif; /* تنظیم فونت برای دکمه انصراف */
}


body {
    background-color: #f1f3f5;
    font-family: Arial, sans-serif;
}

.comment-author {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #ced4da;
}

.comment-content {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.comment-form textarea {
    resize: none;
}

.image-upload-wrapper {
    position: relative;
    display: inline-block;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #e9ecef;
    border: 2px dashed #ced4da;
    cursor: pointer;
    margin-bottom: 1rem;
}

    .image-upload-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .image-upload-wrapper input[type="file"] {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        opacity: 0;
        cursor: pointer;
    }

.image-upload-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 24px;
    color: #adb5bd;
}

.form-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.form-column {
    display: flex;
    flex-direction: column;
    flex: 1;
}

    .form-column:not(:last-child) {
        margin-right: 20px;
    }

.btn-submit {
    background: linear-gradient(45deg, #6b8cce, #8e44ad);
    border: none;
    border-radius: 30px;
    color: white;
    padding: 10px 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .btn-submit:hover {
        background: linear-gradient(45deg, #8e44ad, #6b8cce);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
