/* متغيرات الألوان */
:root {
    --primary-color: #8e44ad; /* اللون البنفسجي */
    --primary-light: #9b59b6;
    --primary-dark: #7d3c98;
    --white: #ffffff;
    --light-bg: #f5f6fa;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --border-color: #dcdde1;
    --success-color: #2ecc71;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --info-color: #3498db;
}

/* إعادة تعيين الستايل الافتراضي */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', 'Tajawal', sans-serif;
}

body {
    background-color: var(--light-bg);
    color: var(--text-dark);
    direction: rtl;
}

/* تنسيق الحاوية الرئيسية */
.container {
    display: flex;
    min-height: 100vh;
}

/* تنسيق القائمة الجانبية */
/* Custom Scrollbar Styles */
.sidebar::-webkit-scrollbar {
    width: 8px;
}

.sidebar::-webkit-scrollbar-track {
    background: transparent; /* Or var(--light-bg) for slight visibility */
}

.sidebar::-webkit-scrollbar-thumb {
    background-color: #d1d8e0; /* A neutral, soft grey */
    border-radius: 10px;
    border: 2px solid var(--white); /* Creates a nice padding effect */
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background-color: #a5b1c2; /* Darker on hover */
}

.sidebar {
    width: 280px;
    background-color: var(--white);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    z-index: 100;
    overflow-y: auto; /* Enable scrolling */
}

.logo {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.sidebar .logo {
    padding: 15px 0;
    border-bottom: none;
}

.logo img {
    max-width: 135px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.logo h2 {
    color: var(--primary-color);
    font-weight: 700;
}

.menu {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.menu li {
    padding: 0 15px;
    margin-bottom: 5px;
    position: relative;
}

.menu li a {
    display: block; /* Changed from flex */
    text-align: center; /* Center the text */
    padding: 12px 15px;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.menu li a i {
    margin-left: 10px;
    font-size: 18px;
    width: 20px;
    text-align: center;
    display: inline-block;
}

.menu li.active a,
.menu li a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.menu li.active::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background-color: var(--primary-dark);
    border-radius: 0 4px 4px 0;
}

.user-info {
    padding: 15px;
    display: flex;
    align-items: center;
    border-top: 1px solid var(--border-color);
}

.user-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    margin-left: 10px;
}

.user-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-details h4 {
    font-size: 14px;
    margin-bottom: 3px;
}

.user-details p {
    font-size: 12px;
    color: var(--text-light);
}

.logout-section {
    margin-top: auto; /* Pushes the logout button to the bottom */
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

.btn-logout {
    width: 100%;
    background-color: transparent;
    border: 1px solid var(--danger-color);
    color: var(--danger-color);
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-logout:hover {
    background-color: var(--danger-color);
    color: var(--white);
}

.btn-logout i {
    margin-left: 8px;
    width: 20px;
    text-align: center;
    display: inline-block;
}

/* تنسيق المحتوى الرئيسي */
.content {
    flex: 1;
    margin-right: 280px; /* Default sidebar width */
    width: calc(100% - 280px); /* Full width minus sidebar */
    padding: 20px;
    transition: all 0.3s ease; /* Smooth transition for width and margin */
}

/* When sidebar is collapsed */
.sidebar-collapsed .content {
    margin-right: 80px; /* Collapsed sidebar width */
    width: calc(100% - 80px); /* Full width minus collapsed sidebar */
}

/* Ensure the sidebar has a fixed width when collapsed */
.sidebar {
    transition: width 0.3s ease;
}

.sidebar-collapsed .sidebar {
    width: 80px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.search-bar {
    display: flex;
    align-items: center;
    background-color: var(--light-bg);
    border-radius: 8px;
    padding: 8px 15px;
    width: 300px;
}

.search-bar i {
    color: var(--text-light);
    margin-left: 10px;
}

.search-bar input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    color: var(--text-dark);
}

.header-icons {
    display: flex;
    gap: 15px;
}

.icon {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.icon:hover {
    background-color: var(--primary-light);
    color: var(--white);
}

.badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--danger-color);
    color: var(--white);
    font-size: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* تنسيق الصفحات */
.pages {
    position: relative;
}

.page {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0;  }
    to { opacity: 1; transform: translateY(0); }
}

.page h1 {
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.page h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

/* تنسيق البطاقات */
.card {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    overflow: hidden;
}

.card-header {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h3 {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 18px;
}

.card-body {
    padding: 20px;
}

/* تنسيق الجداول */
.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 12px 15px;
    text-align: right;
}

.data-table th {
    background-color: var(--light-bg);
    color: var(--primary-color);
    font-weight: 600;
}

.data-table tr {
    border-bottom: 1px solid var(--border-color);
}

.data-table tr:last-child {
    border-bottom: none;
}

.data-table tbody tr:hover {
    background-color: rgba(142, 68, 173, 0.05);
}

/* تنسيق الحالات */
.status {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

.status.on-time {
    background-color: rgba(46, 204, 113, 0.2);
    color: var(--success-color);
}

.status.late {
    background-color: rgba(231, 76, 60, 0.2);
    color: var(--danger-color);
}

.status.active {
    background-color: rgba(52, 152, 219, 0.2);
    color: var(--info-color);
}

.status.expiring {
    background-color: rgba(243, 156, 18, 0.2);
    color: var(--warning-color);
}

.status.returned {
    background-color: rgba(127, 140, 141, 0.2);
    color: var(--text-light);
}

/* تنسيق الأزرار */
.btn {
    padding: 8px 15px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn i {
    margin-left: 8px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background-color: var(--light-bg);
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-icon:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* تنسيق صفحة المواعيد */
.appointment-list {
    display: flex;

/* Login Page Styles */
.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: var(--light-bg);
}

.login-box {
  background: var(--white);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
  text-align: center;
}

.login-box .logo {
    margin-bottom: 20px;
}

.login-box .logo img {
    max-width: 160px;
    height: auto;
}

.login-box p {
  margin-bottom: 20px;
  color: var(--text-light);
}

.form-group {
  margin-bottom: 20px;
  text-align: right;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

.form-group input {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-group input:focus {
  border-color: var(--primary-color);
}

.btn-block {
  width: 100%;
  padding: 12px;
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert-danger {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}
    flex-direction: column;
    gap: 15px;
}

.appointment-item {
    display: flex;
    background-color: var(--light-bg);
    border-radius: 8px;
    overflow: hidden;
}

.appointment-date {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
}

.appointment-date .day {
    font-size: 24px;
    font-weight: 700;
}

.appointment-date .month {
    font-size: 14px;
}

.appointment-details {
    padding: 15px;
    flex-grow: 1;
}

.appointment-details h4 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.appointment-details p {
    margin-bottom: 5px;
    font-size: 14px;
    color: var(--text-light);
}

.appointment-details p i {
    margin-left: 5px;
    color: var(--primary-color);
}

/* تنسيق صفحة المهام */
.task-controls {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.no-tasks {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 40px 20px;
    grid-column: 1 / -1;
    text-align: center;
}

.no-tasks i {
    font-size: 48px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.no-tasks p {
    color: var(--text-dark);
    font-size: 16px;
}

.task-filter select {
    padding: 8px 15px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    background-color: var(--white);
    color: var(--text-dark);
    outline: none;
}

.tasks-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.task-card {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.task-completed {
    background-color: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.task-completed .task-title {
    text-decoration: line-through;
    color: var(--text-light);
    opacity: 0.8;
}

.task-completed .task-description {
    opacity: 0.7;
}

.task-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.task-priority {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.task-priority.high {
    background-color: rgba(231, 76, 60, 0.2);
    color: var(--danger-color);
}

.task-priority.medium {
    background-color: rgba(243, 156, 18, 0.2);
    color: var(--warning-color);
}

.task-priority.low {
    background-color: rgba(46, 204, 113, 0.2);
    color: var(--success-color);
}

.task-actions {
    display: flex;
    gap: 5px;
}

.task-actions i {
    cursor: pointer;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.task-actions i:hover {
    color: var(--primary-color);
}

.task-title {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.task-description {
    margin-bottom: 15px;
    color: var(--text-light);
    font-size: 14px;
}

.task-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 12px;
    color: var(--text-light);
}

.task-meta span i {
    margin-left: 5px;
    color: var(--primary-color);
}

.task-progress {
    display: flex;
    align-items: center;
    gap: 10px;
}

.progress-bar {
    flex-grow: 1;
    height: 6px;
    background-color: var(--light-bg);
    border-radius: 3px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 3px;
}

/* تنسيق صفحة المستندات */
.documents-controls {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.documents-filter select {
    padding: 8px 15px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    background-color: var(--white);
    color: var(--text-dark);
    outline: none;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.document-card {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.document-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(142, 68, 173, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.document-icon i {
    font-size: 24px;
    color: var(--primary-color);
}

.document-info {
    margin-bottom: 15px;
}

.document-info h4 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.document-info p {
    margin-bottom: 5px;
    font-size: 12px;
    color: var(--text-light);
}

.document-actions {
    display: flex;
    gap: 10px;
}

/* تنسيق صفحة العملاء */
.clients-controls {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.search-client {
    display: flex;
    align-items: center;
}

.search-client input {
    padding: 8px 15px;
    border-radius: 6px 0 0 6px;
    border: 1px solid var(--border-color);
    border-right: none;
    background-color: var(--white);
    color: var(--text-dark);
    outline: none;
    width: 250px;
}

.search-client button {
    padding: 8px 15px;
    border-radius: 0 6px 6px 0;
    border: 1px solid var(--primary-color);
    background-color: var(--primary-color);
    color: var(--white);
    cursor: pointer;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.client-card {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.client-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.client-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    background-color: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-actions {
    display: flex;
    gap: 10px;
}

.client-body {
    padding: 20px;
}

.client-body h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.client-body p {
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--text-light);
}

.client-body p i {
    margin-left: 8px;
    color: var(--primary-color);
}

.client-footer {
    padding: 15px 20px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

/* تنسيق صفحة العهد */
.assets-controls {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.assets-filter select {
    padding: 8px 15px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    background-color: var(--white);
    color: var(--text-dark);
    outline: none;
}

/* تنسيق العبارات التحفيزية */
.motivational-quotes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.quote-card {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    border-bottom: 3px solid var(--primary-color);
}

.quote-card:hover {
    
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.quote-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.quote-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.6;
}

/* تنسيق النوافذ المنبثقة */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-container {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0;  }
    to { opacity: 1; transform: translateY(0); }
}

.modal-header {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    color: var(--primary-color);
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    font-size: 18px;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--danger-color);
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    padding: 15px 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* تنسيق النماذج */
.task-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 10px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    background-color: var(--white);
    color: var(--text-dark);
    outline: none;
    transition: border-color 0.3s ease;
}

/* تحسين شكل حقل التاريخ */
.form-group input[type="date"] {
    padding: 9px 10px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%238e44ad" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect><line x1="16" y1="2" x2="16" y2="6"></line><line x1="8" y1="2" x2="8" y2="6"></line><line x1="3" y1="10" x2="21" y2="10"></line></svg>');
    background-repeat: no-repeat;
    background-position: left 10px center;
    background-size: 16px;
    padding-left: 35px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* تنسيق الإشعارات المنبثقة */
.notification {
    position: fixed;
    top: 20px;
    left: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1100;
    animation: notificationSlideIn 0.3s ease, notificationFadeOut 0.5s ease 3.5s forwards;
    max-width: 350px;
}

.notification.success {
    background-color: var(--success-color);
    color: white;
}

.notification.error {
    background-color: var(--danger-color);
    color: white;
}

.notification.info {
    background-color: var(--info-color);
    color: white;
}

.notification-icon {
    font-size: 20px;
}

.notification-message {
    font-weight: 500;
}

@keyframes notificationSlideIn {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes notificationFadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* تنسيق للشاشات الصغيرة */
@media (max-width: 992px) {
    .sidebar {
        width: 70px;
        overflow: hidden;
    }

    .logo h2, .user-details, .menu li a span {
        display: none;
    }

    .menu li a {
        justify-content: center;
    }

    .menu li a i {
        margin: 0;
    }

    .user-info {
        justify-content: center;
    }

    .content {
        margin-right: 70px;
    }

    .tasks-container, .clients-grid, .documents-grid, .motivational-quotes {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        bottom: 0;
        width: 100%;
        height: 60px;
        flex-direction: row;
        z-index: 1000;
    }

    .logo, .user-info {
        display: none;
    }

    .menu {
        display: flex;
        padding: 0;
        width: 100%;
    }

    .menu li {
        flex: 1;
        margin: 0;
        padding: 0;
    }

    .menu li a {
        padding: 10px 5px;
        border-radius: 0;
        justify-content: center;
    }

    .menu li.active::before {
        display: none;
    }

    .content {
        margin-right: 0;
        padding-bottom: 70px;
    }

    header {
        flex-direction: column;
        gap: 10px;
    }

    .search-bar {
        width: 100%;
    }

    .tasks-container, .clients-grid, .documents-grid, .motivational-quotes {
        grid-template-columns: 1fr;
    }
}