* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
    color: #333;
}

/* Authentication UI */
.auth-container {
    max-width: 420px;
    margin: 40px auto;
    display: flex;
    justify-content: center;
}
.auth-card {
    background: white;
    padding: 28px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    width: 100%;
}
.auth-card h2 { color: #333; margin-bottom: 10px; }
.auth-card input { width: 100%; padding: 10px 12px; margin-top: 10px; border-radius: 8px; border: 1px solid #ddd; }
.auth-actions { display:flex; gap:10px; margin-top:12px; }
.auth-message { margin-top: 12px; color: #b00020; }

/* General small helpers */
.hidden { display: none !important; }
.current-user { color: white; margin-right: 16px; font-weight: 600; }
.header-right { display:flex; align-items:center; gap:10px; }

/* Admin Panel */
.admin-container { background: white; border-radius: 16px; padding: 30px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1); }
.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 30px; }
.stat-card { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; padding: 20px; border-radius: 12px; text-align: center; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; }
.stat-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4); }
.stat-label { font-size: 0.9rem; opacity: 0.9; }
.stat-value { font-size: 2.5rem; font-weight: bold; margin-top: 10px; }
.users-table-container { margin-top: 30px; }
.admin-table { width: 100%; border-collapse: collapse; margin-top: 15px; }
.admin-table thead { background: #f0f0f0; }
.admin-table th, .admin-table td { padding: 12px; text-align: left; border-bottom: 1px solid #ddd; }
.admin-table tr:hover { background: #f9f9f9; }
.admin-table button { padding: 6px 12px; margin: 2px; font-size: 0.8rem; }
.btn-danger { background: #e74c3c; color: white; padding: 8px 16px; border: none; border-radius: 6px; cursor: pointer; font-size: 0.9rem; }
.btn-danger:hover { background: #c0392b; }
.create-user-container { margin-bottom: 30px; padding: 20px; background: #f8f9fa; border-radius: 12px; }
.create-user-form { display: flex; gap: 10px; align-items: center; margin-top: 15px; }
.create-user-form input { padding: 10px 12px; border: 1px solid #ddd; border-radius: 6px; flex: 1; }
.create-user-form button { padding: 10px 20px; }
.user-detail-panel { margin-top: 30px; padding: 20px; background: #f8f9fa; border-radius: 12px; }
.user-detail-panel.hidden { display: none; }
.user-detail-actions { margin: 15px 0; display: flex; gap: 10px; align-items: center; }
.user-detail-actions input { padding: 8px 12px; border: 1px solid #ddd; border-radius: 6px; flex: 1; }
.user-detail-panel h4 { margin-top: 20px; color: #667eea; }
.user-projects-list, .user-leaves-list { background: white; padding: 15px; border-radius: 8px; margin-top: 10px; }
.user-project-item, .user-leave-item { padding: 10px; border-left: 3px solid #667eea; margin-bottom: 10px; background: #f0f0f0; border-radius: 4px; }


.container {
    max-width: 1200px;
    margin: 0 auto;
}

header {
    text-align: center;
    color: white;
    margin-bottom: 40px;
    padding: 30px 0;
}

header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Navigation Menu */
.main-nav {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    flex-wrap: wrap;
    justify-content: center;
}

.nav-btn {
    padding: 12px 24px;
    background: #f0f0f0;
    color: #555;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 150px;
}

.nav-btn:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

.nav-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Content Sections */
.content-section {
    display: none;
}

.content-section.active {
    display: block;
}

/* Chat Styles */
.chat-container { display: flex; height: calc(100vh - 350px); background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.chat-sidebar { width: 280px; border-right: 1px solid #e0e0e0; overflow-y: auto; padding: 20px; background: #f8f9fa; }
.chat-sidebar h3 { margin: 0 0 15px 0; font-size: 1.1rem; color: #333; font-weight: 600; }
.chat-list { display: flex; flex-direction: column; gap: 10px; }
.chat-item { padding: 12px 14px; background: white; border-radius: 8px; cursor: pointer; border: 2px solid transparent; transition: all 0.2s; }
.chat-item:hover { border-color: #667eea; background: #f0f0f0; }
.chat-item.active { border-color: #667eea; background: #e8ebff; font-weight: 600; }
.chat-item-name { color: #333; font-size: 0.95rem; }
.chat-item-unread { display: inline-block; background: #e74c3c; color: white; font-size: 0.7rem; padding: 2px 6px; border-radius: 10px; margin-left: 6px; font-weight: 700; }
.no-chats { text-align: center; color: #999; padding: 20px 0; font-size: 0.9rem; }
.chat-main { flex: 1; display: flex; flex-direction: column; }
.chat-header { padding: 15px 20px; border-bottom: 1px solid #e0e0e0; background: #f8f9fa; }
.chat-header-user h3 { margin: 0; color: #333; font-size: 1rem; font-weight: 600; }
.no-chat-selected { flex: 1; display: flex; align-items: center; justify-content: center; color: #999; font-size: 1rem; }
.messages-container { flex: 1; display: flex; flex-direction: column; }
.messages-list { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.message { display: flex; margin-bottom: 8px; }
.message.sent { justify-content: flex-end; }
.message.received { justify-content: flex-start; }
.message-bubble { max-width: 65%; padding: 12px 16px; border-radius: 12px; word-wrap: break-word; font-size: 0.95rem; line-height: 1.4; }
.message.sent .message-bubble { background: #667eea; color: white; border-bottom-right-radius: 4px; }
.message.received .message-bubble { background: #e8e8e8; color: #333; border-bottom-left-radius: 4px; }
.message-time { font-size: 0.75rem; color: #999; margin-top: 4px; text-align: right; }
.message.received .message-time { text-align: left; }
.message-input-container { padding: 15px 20px; border-top: 1px solid #e0e0e0; display: flex; gap: 10px; background: white; }
.message-input-container input { flex: 1; padding: 10px 14px; border: 1px solid #ddd; border-radius: 8px; font-size: 0.95rem; font-family: inherit; }
.message-input-container input:focus { outline: none; border-color: #667eea; box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1); }
.message-input-container button { padding: 10px 20px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; border: none; border-radius: 8px; cursor: pointer; font-weight: 600; font-size: 0.9rem; transition: all 0.2s; }
.message-input-container button:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3); }

/* Leave Section Styles */
.leave-stats-container {
    display: flex;
    gap: 20px;
   
    background: white;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.leave-stats-container h2 {
    margin-bottom: 25px;
    color: #667eea;
    font-size: 1.8rem;
}

.leave-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.3s ease;
    z-index: 1;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(102, 126, 234, 0.5);
}

.stat-card:hover::before {
    left: 100%;
}


.stat-label {
    font-size: 0.85rem;
    opacity: 0.95;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.stat-value {
    font-size: 3rem;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.leaves-list-container {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.leaves-list-container h2 {
    margin-bottom: 25px;
    color: #667eea;
    font-size: 1.8rem;
}

.leaves-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.leave-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #ff9800;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.leave-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.leave-date {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    flex: 1;
}

.leave-reason {
    font-size: 0.95rem;
    color: #666;
    font-style: italic;
    flex: 1;
    margin-left: 15px;
}

.form-container {
    background: white;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-container h2 {
    margin-bottom: 25px;
    color: #667eea;
    font-size: 1.8rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
    font-size: 0.95rem;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    background-color: white;
    cursor: pointer;
}

.form-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.toggle-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.toggle-container input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    cursor: pointer;
    width: 20px;
    height: 20px;
}

.toggle-label {
    font-weight: 600;
    color: #555;
    font-size: 0.95rem;
}

.time-section {
    transition: opacity 0.3s ease;
}

.time-section.hidden {
    display: none;
}

.time-input-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.time-input-group {
    display: flex;
    flex-direction: column;
}

.time-input-group input {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
}

.time-label {
    text-align: center;
    font-size: 0.85rem;
    color: #777;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .time-input-row {
        grid-template-columns: 1fr;
    }
}

.btn-primary {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.projects-section {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

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

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.filter-select {
    padding: 10px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: white;
    color: #555;
}

.filter-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.section-header h2 {
    color: #667eea;
    font-size: 1.8rem;
}

.btn-secondary {
    padding: 10px 20px;
    background: #f44336;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-secondary:hover {
    background: #d32f2f;
}

.btn-export {
    padding: 10px 20px;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-export:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

.btn-export:active {
    transform: translateY(0);
}

.projects-list {
    display: grid;
    gap: 20px;
}

.project-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    border-left: 4px solid #667eea;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.project-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.project-name-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 5px;
    flex-wrap: wrap;
}

.project-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
}

.category-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-shopify {
    background: linear-gradient(135deg, #95BF47 0%, #7AB55C 100%);
    color: white;
}

.category-wordpress {
    background: linear-gradient(135deg, #21759B 0%, #1E8CBE 100%);
    color: white;
}

.category-others {
    background: linear-gradient(135deg, #9E9E9E 0%, #757575 100%);
    color: white;
}

.project-time {
    font-size: 1.1rem;
    font-weight: 600;
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
}

.project-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.detail-item {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    font-size: 1rem;
    color: #333;
    font-weight: 500;
}

.delete-btn {
    background: #ff5252;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.3s ease;
    font-weight: 600;
}

.delete-btn:hover {
    background: #ff1744;
}

.btn-modify {
    background: #ff9800;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.3s ease;
    font-weight: 600;
}

.btn-modify:hover {
    background: #f57c00;
}

.modifications-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #e0e0e0;
}

.modifications-header {
    cursor: pointer;
    user-select: none;
    padding: 10px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    margin-bottom: 0;
}

.modifications-header:hover {
    background-color: #f5f5f5;
}

.modifications-header-content {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #667eea;
    font-size: 1rem;
}

.dropdown-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    color: #667eea;
}

.modifications-list {
    margin-top: 12px;
    max-height: 500px;
    overflow-y: auto;
    transition: all 0.3s ease;
}

.modifications-list.hidden {
    display: none;
}

.modification-empty {
    text-align: center;
    padding: 20px;
    color: #999;
    font-style: italic;
}

.modifications-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modification-item {
    background: white;
    padding: 12px 16px;
    border-radius: 8px;
    border-left: 3px solid #ff9800;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.modification-date {
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 6px;
    font-weight: 600;
}

.modification-description {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.5;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 2px solid #e0e0e0;
}

.modal-header h2 {
    margin: 0;
    color: #667eea;
    font-size: 1.8rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #f0f0f0;
    color: #333;
}

.modal-content form {
    padding: 30px;
}

.modal-content .form-group {
    margin-bottom: 20px;
}

.modal-content textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    transition: all 0.3s ease;
}

.modal-content textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.modal-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 25px;
}

/* Additional styles for admin modals */
.modal-body {
    padding: 20px 30px;
}

.modal-footer {
    padding: 20px 30px;
    border-top: 2px solid #e0e0e0;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: #f0f0f0;
    color: #333;
}

.settings-section h3 {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.setting-item {
    margin-bottom: 15px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
}

.setting-item label {
    font-weight: 600;
    color: #333;
}

.setting-description {
    margin: 5px 0 0 0;
    color: #6c757d;
    font-size: 0.85em;
}

.count-badge {
    display: inline-block;
    padding: 4px 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: 600;
}

.btn-cancel {
    padding: 12px 24px;
    background: #e0e0e0;
    color: #333;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-cancel:hover {
    background: #d0d0d0;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 1.1rem;
}

.empty-state.hidden {
    display: none;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    .form-container,
    .projects-section {
        padding: 20px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .header-actions {
        width: 100%;
        flex-direction: column;
    }
    
    .header-actions .filter-select,
    .header-actions .btn-export,
    .header-actions .btn-secondary {
        width: 100%;
    }
    
    .project-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .project-details {
        grid-template-columns: 1fr;
    }
    
    .time-input-row {
        grid-template-columns: 1fr;
    }
    
    .project-name-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .project-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .project-actions .btn-modify,
    .project-actions .delete-btn {
        width: 100%;
    }
    
    .main-nav {
        flex-direction: column;
    }
    
    .nav-btn {
        width: 100%;
    }
    
    .leave-stats {
        grid-template-columns: 1fr;
    }
    
    .leave-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .leave-item .delete-btn {
        width: 100%;
    }
    
    .modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .modal-content form {
        padding: 20px;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .modal-actions button {
        width: 100%;
    }
}

