﻿/* ===== App layout ===== */

.app {
    display: flex;
    min-height: 100vh;
    background-color: #f8fafc;
}

.main {
    flex: 1;
    padding: 24px 32px;
}

/* ===== Header (title + actions) ===== */

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 16px;
}

.header h1 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.header .btn-primary {
    display: flex;
    align-items: center;
    gap: 6px;
}


@media (max-width: 640px) {

    .app {
        flex-direction: column;
    }

    .main {
        padding: 16px;
    }

    .header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .header h1 {
        font-size: 20px;
    }

    .header .btn-primary {
        width: 100%;
        justify-content: center;
    }
}
