/**
 * Layout Styles
 * SNEC IMS - Shared Layout Components
 * Footer, Dashboard Page Structure, and Common Layout Elements
 */

/* ==================== FOOTER ==================== */
.footer {
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    padding: 20px 0;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-left,
.footer-right {
    color: #6b7280;
    font-size: 14px;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* ==================== DASHBOARD PAGE STRUCTURE ==================== */
#dashboard-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    display: flex;
}

.content-area {
    flex: 1;
    padding: 20px;
}

/* ==================== RESPONSIVE STYLES ==================== */

/* Tablet and below */
@media (max-width: 1024px) {
    .content-area {
        padding: 15px;
    }

    .main-content {
        flex-direction: column;
    }
}

/* Mobile devices */
@media (max-width: 768px) {
    .content-area {
        padding: 15px 10px;
    }

    /* Dashboard titles responsive */
    .az-dashboard-one-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 15px 0;
    }

    .az-dashboard-title {
        font-size: 22px;
    }

    .az-content-header-right {
        width: 100%;
    }

    .az-content-header-right .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .content-area {
        padding: 10px;
    }

    .az-dashboard-title {
        font-size: 20px;
    }

    .az-dashboard-text {
        font-size: 13px;
    }
}