/* Responsive and modernized CSS for BurnNotes.app using Bootstrap 5 utilities and custom styles */

body, html {
    padding: 0;
    margin: 0 !important;
    overflow-x: hidden;
    scroll-snap-type-x: none;
    min-height: 100vh;
    width: 100vw;
    background: #f8f9fa;
}

main {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

header {
    min-height: 5vh;
    max-height: 25vh;
    background: #212529;
    color: #fff;
}

.navbar {
    opacity: 0.97;
    border-radius: 0 0 1rem 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.navbar-brand {
    font-size: 1.7rem;
    font-weight: bold;
    text-decoration: underline;
    text-decoration-color: #ff5722;
    letter-spacing: 0.05em;
    padding: 0.5rem 1rem;
    color: #fff !important;
}

.nav-link {
    margin-right: 20px;
    font-size: 1.15rem;
    padding: 0.75rem 1rem;
    color: #fdfafa !important;
    text-decoration: underline;
    text-decoration-color: #fdfafa;
    transition: color 0.2s, text-decoration-color 0.2s;
}

.nav-link:hover {
    text-decoration-color: #ff9800;
    color: #ff9800 !important;
}

.container-flex {
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
}

.card {
    border-radius: 1rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.note-content-style {
    font-size: 1.1rem;
    line-height: 1.7;
    word-break: break-word;
    background: #fffbe7;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-top: 1rem;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .container-flex {
        flex-direction: column;
        align-items: stretch;
    }
}
@media (max-width: 992px) {
    .container-flex {
        flex-direction: column;
        align-items: stretch;
    }
    .col-lg-8, .col-xl-7, .col-lg-4, .col-xl-5 {
        max-width: 100% !important;
        flex: 0 0 100%;
    }
}
@media (max-width: 768px) {
    .container-flex {
        flex-direction: column;
        align-items: stretch;
    }
    .note-content-style {
        font-size: 1rem;
        padding: 0.7rem;
    }
    .navbar-brand {
        font-size: 1.2rem;
    }
}
@media (max-width: 576px) {
    .container-flex {
        flex-direction: column;
        align-items: stretch;
    }
    .note-content-style {
        font-size: 0.95rem;
        padding: 0.5rem;
    }
    .navbar-brand {
        font-size: 1rem;
    }
    .card {
        border-radius: 0.5rem;
    }
}

/* Utility for info panel */
.info-panel {
    background: #e3f2fd;
    border-radius: 0.75rem;
    padding: 1.5rem 1rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 6px rgba(33,150,243,0.07);
}

/* Custom scrollbar for better UX */
::-webkit-scrollbar {
    width: 8px;
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #bdbdbd;
    border-radius: 4px;
}