/*
** Bahman Sharafi  <novinpendarlimoo@gmail.com>
** Under MIT license 
*/

/* ===================== کانتینر کلی پلاگین ===================== */
.arp_container {
    padding: 20px;
    border-radius: 10px;
    background-color: #FFF;
    text-align: justify;
    margin-top: 20px;
}

/* ===================== جعبه راهنما ===================== */
.auto-reminder-help-box {
    background: #f8f8f8;
    border: 1px solid #ccc;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 6px;
    font-size: 14px;
}

.auto-reminder-help-box .arh-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: bold;
    margin-bottom: 10px;
}

.auto-reminder-help-box .arh-icon {
    background: #0073aa;
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
}

.auto-reminder-help-box .arh-list {
    margin: 10px 0 0 20px;
    padding: 0;
    list-style: disc;
}

.auto-reminder-help-box .arh-list ul {
    margin-top: 5px;
    margin-bottom: 5px;
}

/* ===================== جدول کاربران ===================== */
.tbl_register_user th {
    vertical-align: top;
    text-align: right;
    padding: 20px 0 20px 10px;
    width: 200px;
    line-height: 1.3;
    font-weight: 600;
    color: #FFF;
}

.tbl_register_user td {
    margin-bottom: 9px;
    padding: 15px 10px;
    line-height: 1.3;
    vertical-align: middle;
}

/* ===================== حذف حاشیه‌ها و استایل وردپرس ===================== */
#menu-management .menu-edit,
#menu-settings-column .accordion-container,
.comment-ays,
.feature-filter,
.manage-menus,
.menu-item-handle,
.popular-tags,
.stuffbox,
.widget-inside,
.widget-top,
.widgets-holder-wrap,
.wp-editor-container,
p.popular-tags,
table.widefat {
    border: 0;
}

/* ============================== فرم‌ها و ورودی‌ها ============================== */
.autoreminder input,
.autoreminder textarea,
.autoreminder select,
.autoreminder option,
.autoreminder button {
    padding: 10px;
    border-radius: 10px;
    width: 18em;
    transition: all 0.3s ease;
}

/* textarea عریض‌تر */
.autoreminder textarea {
    width: 40em;
}

/* ورودی‌های متن و option چپ‌چین */
.autoreminder input[type="text"],
.autoreminder input[type="password"],
.autoreminder option {
    direction: ltr;
    text-align: left;
}

/* دکمه‌های submit اندازه مناسب و hover */
.autoreminder input[type="submit"],
.autoreminder button {
    width: fit-content;
    background-color: #3b5998;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: bold;
    border-radius: 10px;
}

.autoreminder input[type="submit"]:hover,
.autoreminder button:hover {
    background-color: #2d4373;
    transform: scale(1.05);
    color: #fff;
}

/* ورودی‌ها و textarea راست‌چین */
.autoreminder input[name="custome_subject_email"],
.autoreminder input[name="display_name"],
.autoreminder textarea {
    direction: rtl;
    text-align: right;
}

/* ===================== جدول‌ها ===================== */
.autoreminder table.widefat {
    width: 100%;
    border-collapse: collapse;
}

.autoreminder table.widefat th,
.autoreminder table.widefat td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: right;
    transition: background-color 0.3s ease;
}

.autoreminder table.widefat tr:nth-child(even) {
    background-color: #f9f9f9;
}

.autoreminder table.widefat tr:hover {
    background-color: #d0e6f7;
}

.autoreminder table.widefat thead tr {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    background-color: #2d4373;
    color: #FFF;
}

.autoreminder .widefat tfoot tr td,
.autoreminder .widefat tfoot tr th,
.autoreminder .widefat thead tr td,
.autoreminder .widefat thead tr th {
    color: #FFF;
}

.autoreminder .widefat tfoot tr:hover td,
.autoreminder .widefat tfoot tr:hover th,
.autoreminder .widefat thead tr:hover td,
.autoreminder .widefat thead tr:hover th {
    color: #333;
}

/* ===================== چک‌باکس و رادیو ===================== */
.autoreminder input[type="checkbox"],
.autoreminder input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #0073aa;
    margin: 2px;
}

/* ===================== دکمه notice-dismiss وردپرس ===================== */
.notice-dismiss {
    all: unset;
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: transparent;
    width: auto;
    height: auto;
    cursor: pointer;
}

.autoreminder button.notice-dismiss {
    background-color: transparent;
}