/* استایل‌های سامانه گزارشات آروند */
body {
    font-family: Vazir, Tahoma, Arial, sans-serif;
}

.arvand-report-system {
    direction: rtl;
    text-align: right;
    background-color: #f7f7f7;
    padding: 20px;
    border-radius: 5px;
    max-width: 1200px;
    margin: 0 auto;
}

.header {
    background-color: #3B5965;
    color: #fff;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.header h1 {
    margin: 0;
    font-size: 24px;
}

.tabs {
    display: flex;
    margin-bottom: 20px;
    background: white;
    border-radius: 5px;
    overflow: hidden;
}

.tab {
    padding: 12px 20px;
    cursor: pointer;
    border: none;
    background: transparent;
    font-weight: bold;
}

.tab.active {
    background-color: #3B5965;
    color: white;
}

.tab-content {
    display: none;
    background: white;
    padding: 20px;
    border-radius: 5px;
}

.tab-content.active {
    display: block;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="text"], input[type="date"], input[type="time"], textarea, select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: Vazir, Tahoma, Arial, sans-serif;
}

textarea {
    height: 150px;
}

button, .btn {
    background-color: #3B5965;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

button:hover, .btn:hover {
    background-color: #2c4754;
}

.report-item {
    margin-bottom: 15px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 4px;
    border-right: 3px solid #3B5965;
}

.report-title {
    font-weight: bold;
    margin-bottom: 5px;
    color: #3B5965;
}

.report-date {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 10px;
}

.report-actions {
    margin-top: 10px;
}

.action-btn {
    background-color: #eee;
    color: #333;
    border: none;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
    margin-right: 5px;
}

.action-btn.delete {
    color: #d9534f;
}

.action-btn:hover {
    background-color: #ddd;
}

.error-message {
    color: #d9534f;
    background-color: #f2dede;
    border: 1px solid #ebccd1;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.success-message {
    color: #3c763d;
    background-color: #dff0d8;
    border: 1px solid #d6e9c6;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table th, table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: right;
}

table th {
    background-color: #3B5965;
    color: white;
}

table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.goal-item {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 4px;
    margin-bottom: 10px;
}

.goal-checkbox {
    margin-left: 15px;
    margin-top: 3px;
}

.goal-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.goal-completed .goal-title,
.goal-completed .goal-description {
    text-decoration: line-through;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    .tabs {
        flex-wrap: wrap;
    }
    
    .tab {
        flex-grow: 1;
        text-align: center;
    }
}