/* ===== صندوق نامه‌ها ===== */
.oa-inbox-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 14px;
}

.oa-inbox-table th,
.oa-inbox-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: right;
}

.oa-inbox-table th {
    background-color: #f5f5f5;
    font-weight: bold;
}

.oa-inbox-table tr:nth-child(even) {
    background-color: #fafafa;
}

.oa-inbox-table a {
    color: #0073aa;
    text-decoration: none;
}

.oa-inbox-table a:hover {
    text-decoration: underline;
}

/* ===== صفحه مشاهده نامه ===== */
.oa-letter-view {
    background: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    margin-top: 20px;
    line-height: 1.9;
}

.oa-letter-view h2 {
    margin-top: 0;
    font-size: 20px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.oa-letter-content {
    margin-top: 15px;
    font-size: 15px;
}

.oa-letter-meta {
    color: #555;
    font-size: 14px;
}

.oa-letter-attachment a {
    display: inline-block;
    margin-top: 10px;
    background: #0073aa;
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
}

.oa-letter-attachment a:hover {
    background: #005f8d;
}

/* ===== پاسخ‌ها ===== */
.oa-letter-replies {
    margin-top: 20px;
}

.oa-letter-reply {
    border: 1px solid #ddd;
    background: #fafafa;
    padding: 15px;
    margin-bottom: 15px;
}

.oa-letter-reply-meta {
    font-size: 13px;
    color: #555;
    margin-bottom: 8px;
}

.oa-letter-reply-content {
    font-size: 14px;
    line-height: 1.8;
}
/*استایل های پنل کاربری*/
    .oa-user-panel { max-width: 900px; margin: 30px auto; font-family: sans-serif; background:#fff; border-radius:10px; box-shadow:0 4px 12px rgba(0,0,0,0.1); padding:20px; }
    .oa-panel-title { text-align:center; margin-bottom:20px; color:#2c3e50; }
    .oa-panel-tabs { display:flex; gap:10px; margin-bottom:20px; flex-wrap:wrap; }
    .oa-panel-tabs .tab-link { padding:10px 15px; background:#ecf0f1; border-radius:6px; text-decoration:none; color:#34495e; transition:0.3s; }
    .oa-panel-tabs .tab-link:hover { background:#3498db; color:#fff; }
    .oa-panel-tabs .tab-link.active { background:#2980b9; color:#fff; }
    .oa-panel-content { padding:15px; border-top:1px solid #ddd; }
    .oa-compose-form label { display:block; margin-top:10px; font-weight:bold; }
    .oa-compose-form input[type="text"],
    .oa-compose-form select,
    .oa-compose-form textarea { width:100%; padding:8px; margin-top:5px; border-radius:6px; border:1px solid #ccc; box-sizing:border-box; }
    .oa-compose-form input[type="file"] { margin-top:5px; }
    .oa-btn-submit { margin-top:15px; padding:10px 20px; background:#27ae60; color:#fff; border:none; border-radius:6px; cursor:pointer; transition:0.3s; }
    .oa-btn-submit:hover { background:#2ecc71; }
    
/*استایل نوتیف*/
    .oa-notification-list { list-style:none; padding:0; }
    .oa-notification-list li { padding:8px; border-bottom:1px solid #ddd; }
    .oa-notification-list li.unread { background:#f9f9f9; font-weight:bold; }
    .oa-notification-list li.read { color:#888; }
    .oa-notification-link { text-decoration:none; color:#2c3e50; }
    .oa-notification-link:hover { text-decoration:underline; }
    .oa-notification-time { display:block; font-size:12px; color:#aaa; margin-top:2px; }
    
    
/*استایل دکمه بازگشت در ادامه نامه*/
    .oa-btn-back {
    display: inline-block;
    padding: 6px 12px;
    background: #3498db;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    margin-bottom: 10px;
}

.oa-btn-back:hover {
    background: #2980b9;
}

/*استایل صفحه ورود*/
.oa-login-form-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    background: #fff;
    text-align: center;
}

.oa-login-form input[type="text"],
.oa-login-form input[type="password"] {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.oa-login-form .oa-btn-submit {
    padding: 8px 20px;
    background: #3498db;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.oa-login-form .oa-btn-submit:hover {
    background: #2980b9;
}
