﻿    .database-page {
        max-width: 1200px;
        margin: 0 auto;
        padding: 30px 20px 80px;
        background-color: #f5f7fb;
    }

    .database-page p,
    .database-page li {
        font-size: 18px;
    }



    .hero-section {
        /* background: linear-gradient(135deg, #2563eb, #1d4ed8); */
        background-color: midnightblue;
        color: white;
        padding: 50px;
        border-radius: 20px;
        margin-bottom: 30px;
    }

    .hero-badge {
        display: inline-block;
        background-color: rgba(255,255,255,0.2);
        padding: 6px 14px;
        border-radius: 999px;
        font-size: 14px;
        margin-bottom: 15px;
    }

/*     .hero-section h1 {
        font-size: 42px;
        margin-bottom: 20px;
        font-weight: bold;
    } */

    .hero-text {
        font-size: 18px;
        line-height: 1.8;
    }

    .content-card,
    .summary-card {
        background-color: white;
        border-radius: 18px;
        padding: 35px;
        margin-bottom: 28px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    }

    .content-card h2,
    .summary-card h2 {
        font-size: 32px;
        margin-bottom: 20px;
        color: #1e293b;
    }

    .content-card p {
        line-height: 1.9;
        font-size: 26px;
    }

    .learning-grid,
    .summary-grid,
    .concept-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 18px;
    }

    .learning-item,
    .summary-item,
    .concept-box {
        background-color: #f8fafc;
        border-radius: 14px;
        padding: 22px;
    }
    /*by fshy*/
    .learning-item .learning-link .text {
    font-size: 22px;
}

    .number {
        font-size: 28px;
        font-weight: bold;
        color: #2563eb;
        margin-bottom: 10px;
    }

    .text {
        font-size: 17px;
        font-weight: bold;
    }

    .table-wrapper {
        overflow-x: auto;
        margin-top: 20px;
    }

    .database-table,
    .mini-table {
        width: 100%;
        border-collapse: collapse;
    }

    .database-table th,
    .database-table td,
    .mini-table th,
    .mini-table td {
        border: 1px solid #cbd5e1;
        padding: 12px;
        text-align: left;
    }

    .database-table th,
    .mini-table th {
        background-color: #2563eb;
        color: white;
        font-size:22px;
    }

    .database-table td,
    .mini-table td {
        font-size:22px;
    }


    .example-box,
    .point-box {
        background-color: #eff6ff;
        border-left: 5px solid #2563eb;
        padding: 20px;
        margin-top: 20px;
        border-radius: 10px;
    }

    .example-title,
    .point-title {
        font-weight: bold;
        margin-bottom: 12px;
        font-size: 22px;
    }

    .example-box li {
    font-size: 22px;
}
    .important-card {
        border: 3px solid #f59e0b;
        position: relative;
    }

    .important-label {
        position: absolute;
        top: -14px;
        left: 20px;
        background-color: #f59e0b;
        color: white;
        padding: 5px 14px;
        border-radius: 999px;
        font-size: 14px;
        font-weight: bold;
    }

    .relation-area {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 30px;
        flex-wrap: wrap;
        margin-top: 25px;
        /*border: 10px solid red !important;*/
    }

    .relation-title {
        text-align: center;
        font-weight: bold;
        margin-bottom: 10px;
        font-size: 20px;
    }

    .relation-arrow {
        font-size: 40px;
        color: #2563eb;
        font-weight: bold;
    }

    .concept-subtitle {
        color: #2563eb;
        font-weight: bold;
        margin-bottom: 10px;
    }

    @@media (max-width: 768px) {

        .hero-section {
            padding: 30px;
        }

        .hero-section h1 {
            font-size: 30px;
        }

        .content-card,
        .summary-card {
            padding: 24px;
        }

        .content-card h2,
        .summary-card h2 {
            font-size: 26px;
        }
    }

    .important-message {
        background-color: #eef2ff;
        border-left: 5px solid #4f46e5;
        padding: 20px;
        border-radius: 10px;
        margin-top: 20px;
        line-height: 1.9;
    }

    .problem-box {
        background-color: #fef2f2;
        border-left: 5px solid #dc2626;
        padding: 20px;
        border-radius: 10px;
        margin-top: 20px;
    }

    .problem-title {
        font-weight: bold;
        margin-bottom: 12px;
        color: #b91c1c;
    }

    .exam-tip-box {
        background-color: #fffbeb;
        border-left: 5px solid #f59e0b;
        padding: 20px;
        border-radius: 10px;
    }

    .exam-tip-title {
        font-weight: bold;
        margin-bottom: 12px;
        color: #b45309;
    }

    .learning-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
    .learning-item:hover {
    background-color: #f0f4ff;
    cursor: pointer;
}
    .scroll-target {
    scroll-margin-top: 100px;
}
    .btn-close-detail {
    background: transparent;
    color: midnightblue;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
}
    html {
    scroll-behavior: smooth;
}

    .sql-cell {
    text-align: left;
}
