/* Import Arabic fonts */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700&display=swap');

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f8f9fa;
    color: #2d3748;
    line-height: 1.6;
    min-height: 100vh;
    direction: rtl;
}

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

/* Header */
.header {
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #e2e8f0;
}

.header .container {
    padding: 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d3748;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo i {
    color: #4a5568;
    font-size: 2rem;
}

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

.back-btn {
    background: #4a5568;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: #2d3748;
}

.page-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
}

/* Main content */
.main {
    padding: 30px 0 50px;
}

.section-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title i {
    color: #4a5568;
    font-size: 1.5rem;
}

/* Projects grid */
.projects-section {
    margin-bottom: 40px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.project-card {
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #e2e8f0;
}

.project-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: #cbd5e0;
}

.project-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.project-header i {
    font-size: 2.5rem;
    color: #4a5568;
}

.project-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d3748;
}

.project-description {
    color: #7f8c8d;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.project-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #5a6c7d;
    font-size: 0.9rem;
    font-weight: 500;
}

.stat i {
    color: #4a5568;
}

/* Buildings and parts grid */
.buildings-grid,
.parts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.building-card,
.part-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #e2e8f0;
}

.building-card:hover,
.part-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: #cbd5e0;
}

.building-header,
.part-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.building-icon,
.part-icon {
    width: 50px;
    height: 50px;
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4a5568;
    font-size: 1.5rem;
}

.building-header h3,
.part-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    flex: 1;
    margin: 0 15px;
}

.part-order {
    width: 35px;
    height: 35px;
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #4a5568;
    font-size: 0.9rem;
}

/* Status badges */
.status-badge {
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    border: 1px solid;
}

.status-badge.completed {
    background: #f0fff4;
    color: #22543d;
    border-color: #9ae6b4;
}

.status-badge.in-progress {
    background: #fffbeb;
    color: #744210;
    border-color: #f6e05e;
}

.status-badge.starting {
    background: #ebf8ff;
    color: #2a4365;
    border-color: #90cdf4;
}

.status-badge.not-started {
    background: #f7fafc;
    color: #4a5568;
    border-color: #cbd5e0;
}

/* Progress bars */
.progress-bar {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
    margin-top: 8px;
}

.progress-fill {
    height: 100%;
    background: #4a5568;
    border-radius: 3px;
    transition: width 0.6s ease;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: #5a6c7d;
}

.building-progress,
.part-progress,
.project-progress {
    margin-top: 15px;
}

/* Overview cards */
.overview-card {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    border: 1px solid #e2e8f0;
}

.building-info-header,
.part-info-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.building-icon-large,
.part-icon-large {
    width: 80px;
    height: 80px;
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4a5568;
    font-size: 2.5rem;
}

.building-main-info,
.part-main-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.building-main-info h2,
.part-main-info h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0;
}

.building-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
}

.detail-item i {
    color: #4a5568;
    font-size: 1.2rem;
    width: 20px;
}

.detail-item .label {
    font-size: 0.85rem;
    color: #7f8c8d;
    display: block;
}

.detail-item .value {
    font-weight: 600;
    color: #2d3748;
    display: block;
}

/* Tasks */
.tasks-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.task-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #e2e8f0;
    border-right: 4px solid #e2e8f0;
}

.task-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.task-card.completed {
    border-right-color: #22543d;
}

.task-card.in-progress {
    border-right-color: #744210;
}

.task-card.not-started {
    border-right-color: #4a5568;
}

.task-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.task-status-icon {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    border: 1px solid;
}

.task-status-icon.completed {
    background: #f0fff4;
    color: #22543d;
    border-color: #9ae6b4;
}

.task-status-icon.in-progress {
    background: #fffbeb;
    color: #744210;
    border-color: #f6e05e;
}

.task-status-icon.not-started {
    background: #f7fafc;
    color: #4a5568;
    border-color: #cbd5e0;
}

.task-info {
    flex: 1;
}

.task-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 5px;
}

.task-description {
    color: #7f8c8d;
    font-size: 0.9rem;
    line-height: 1.4;
}

.task-progress {
    margin-top: 10px;
}

/* Task completion info */
.task-completion-info {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
}

.completion-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    font-size: 0.85rem;
}

.completion-label {
    color: #718096;
    font-weight: 500;
}

.completion-value {
    color: #2d3748;
    font-weight: 600;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: white;
    border-radius: 8px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.modal-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
}

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

.close-btn:hover {
    background: #ecf0f1;
    color: #7f8c8d;
}

.modal-body {
    padding: 25px;
}

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

.task-progress-large {
    flex: 1;
    min-width: 200px;
}

.modal-task-description,
.modal-task-completion,
.modal-task-progress,
.modal-task-notes {
    margin-bottom: 25px;
}

.modal-task-description h4,
.modal-task-completion h4,
.modal-task-progress h4,
.modal-task-notes h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.completion-details,
.progress-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 0.95rem;
}

.detail-row i {
    color: #4a5568;
    width: 20px;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .header .container {
        padding: 15px;
    }

    .logo {
        font-size: 1.5rem;
    }

    .logo i {
        font-size: 1.8rem;
    }

    .page-title {
        font-size: 1.3rem;
    }

    .header-content {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .back-btn {
        align-self: flex-start;
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    .projects-grid,
    .buildings-grid,
    .parts-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .project-card,
    .building-card,
    .part-card {
        padding: 20px;
    }

    .overview-card {
        padding: 20px;
    }

    .building-info-header,
    .part-info-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .building-icon-large,
    .part-icon-large {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .building-details-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .building-header,
    .part-header {
        flex-wrap: wrap;
    }

    .building-header h3,
    .part-header h3 {
        margin: 0;
        flex: none;
        width: 100%;
        margin-top: 10px;
    }

    .task-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .task-info {
        width: 100%;
    }

    .modal-content {
        margin: 0;
        border-radius: 20px 20px 0 0;
        max-height: 95vh;
    }

    .modal-header,
    .modal-body {
        padding: 20px;
    }

    .modal-task-header {
        flex-direction: column;
        align-items: stretch;
    }

    .task-progress-large {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .main {
        padding: 20px 0 40px;
    }

    .section-title {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

    .project-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .project-header i {
        font-size: 2rem;
    }

    .project-stats {
        flex-direction: column;
        gap: 10px;
    }

    .building-icon,
    .part-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .part-order {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
}

/* Animation for smooth transitions */
.project-card,
.building-card,
.part-card,
.task-card {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Focus states for accessibility */
.back-btn:focus,
.close-btn:focus {
    outline: 2px solid #4a5568;
    outline-offset: 2px;
}

.project-card:focus,
.building-card:focus,
.part-card:focus,
.task-card:focus {
    outline: 2px solid #4a5568;
    outline-offset: 2px;
}

/* Print styles */
@media print {

    .header,
    .back-btn,
    .modal {
        display: none !important;
    }

    .main {
        padding: 0;
    }

    .project-card,
    .building-card,
    .part-card,
    .task-card,
    .overview-card {
        box-shadow: none;
        border: 1px solid #ddd;
        break-inside: avoid;
    }
}

/* Login Page Styles */
.login-body {
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.login-container {
    width: 100%;
    max-width: 400px;
}

.login-card {
    background: white;
    border-radius: 8px;
    padding: 40px 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 10px;
}

.login-logo i {
    font-size: 2.5rem;
    color: #4a5568;
}

.login-logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0;
}

.login-header p {
    color: #718096;
    font-size: 0.95rem;
    margin: 0;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    font-weight: 600;
    color: #2d3748;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label i {
    color: #4a5568;
    width: 16px;
}

.form-group input {
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    direction: ltr;
    text-align: left;
}

.form-group input:focus {
    outline: none;
    border-color: #4a5568;
    box-shadow: 0 0 0 3px rgba(74, 85, 104, 0.1);
}

.form-group input::placeholder {
    color: #a0aec0;
    direction: rtl;
    text-align: right;
}

.password-input {
    position: relative;
}

.toggle-password {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #718096;
    cursor: pointer;
    padding: 4px;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: #4a5568;
}

.login-btn {
    background: #4a5568;
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.login-btn:hover:not(:disabled) {
    background: #2d3748;
}

.login-btn:disabled {
    background: #a0aec0;
    cursor: not-allowed;
}

.error-message {
    background: #fed7d7;
    color: #c53030;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    border: 1px solid #feb2b2;
}

.success-message {
    background: #c6f6d5;
    color: #22543d;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    border: 1px solid #9ae6b4;
}

.login-info {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.demo-credentials {
    text-align: center;
}

.demo-credentials h3 {
    font-size: 0.9rem;
    color: #4a5568;
    margin-bottom: 12px;
    font-weight: 600;
}

.credential-item {
    background: #f7fafc;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.credential-item:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
}

.credential-item strong {
    color: #2d3748;
    display: block;
    margin-bottom: 4px;
}

.credential-item span {
    color: #718096;
    font-family: 'Courier New', monospace;
}

/* Login page responsive */
@media (max-width: 480px) {
    .login-card {
        padding: 30px 20px;
        margin: 0 10px;
    }

    .login-logo h1 {
        font-size: 1.3rem;
    }

    .login-logo i {
        font-size: 2rem;
    }
}

/* Dashboard Styles */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4a5568;
    font-size: 0.9rem;
}

.user-info i {
    font-size: 1.5rem;
}

.user-type {
    background: #f7fafc;
    color: #4a5568;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    border: 1px solid #e2e8f0;
}

.logout-btn {
    background: #e53e3e;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background: #c53030;
}

.dashboard-welcome {
    margin-bottom: 30px;
}

.welcome-card {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    text-align: center;
}

.welcome-card h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
}

.welcome-card p {
    color: #718096;
    font-size: 1rem;
}

.dashboard-stats,
.dashboard-actions,
.recent-activity {
    margin-bottom: 40px;
}

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

.stat-card,
.action-card {
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.action-card {
    cursor: pointer;
}

.action-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: #cbd5e0;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-icon,
.action-icon {
    width: 60px;
    height: 60px;
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4a5568;
    font-size: 1.8rem;
}

.stat-info h3,
.action-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 5px;
}

.action-info h3 {
    font-size: 1.2rem;
}

.stat-info p,
.action-info p {
    color: #718096;
    font-size: 0.9rem;
    margin: 0;
}

.action-card {
    display: flex;
    align-items: center;
    gap: 20px;
}

.activity-list {
    background: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    width: 40px;
    height: 40px;
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4a5568;
    font-size: 1.2rem;
}

.activity-info p {
    color: #2d3748;
    font-weight: 500;
    margin-bottom: 4px;
}

.activity-time {
    color: #718096;
    font-size: 0.85rem;
}

/* Modal Forms */
.modal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.modal-form label {
    font-weight: 600;
    color: #2d3748;
    font-size: 0.9rem;
}

.modal-form input,
.modal-form select,
.modal-form textarea {
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus {
    outline: none;
    border-color: #4a5568;
    box-shadow: 0 0 0 3px rgba(74, 85, 104, 0.1);
}

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

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 10px;
}

.cancel-btn,
.submit-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cancel-btn {
    background: #f7fafc;
    color: #4a5568;
    border: 1px solid #e2e8f0;
}

.cancel-btn:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
}

.submit-btn {
    background: #4a5568;
    color: white;
}

.submit-btn:hover {
    background: #2d3748;
}

/* Dashboard responsive */
@media (max-width: 768px) {
    .header-actions {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }

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

    .stats-grid,
    .actions-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .stat-card,
    .action-card {
        padding: 20px;
    }

    .stat-icon,
    .action-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .welcome-card {
        padding: 25px 20px;
    }

    .welcome-card h1 {
        font-size: 1.5rem;
    }

    .form-actions {
        flex-direction: column;
    }
}