/* SchoolLIB Website - Classic with subtle modern touch */

body {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 13px;
    color: #333333;
    background-color: #e9e6df;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

a {
    color: #0055a4;
    text-decoration: none;
}

a:visited {
    color: #6a3d9a;
}

a:hover {
    color: #cc3300;
    text-decoration: underline;
}

.container {
    max-width: 920px;
    margin: 0 auto;
}

/* Top Bar */
.top-bar {
    background: linear-gradient(to right, #001a33, #003366);
    color: #aabbcc;
    padding: 5px 0;
    font-size: 10px;
    letter-spacing: 0.3px;
}

.top-bar .container {
    text-align: center;
}

/* Header */
header {
    background-color: #ffffff;
    border-bottom: 3px solid #003366;
    padding: 0;
}

.header-table {
    border: none;
}

.logo-cell {
    padding: 16px 20px;
}

.logo-cell h1 {
    font-family: 'Times New Roman', Times, serif;
    font-size: 34px;
    color: #003366;
    margin: 0;
    font-weight: bold;
    letter-spacing: -0.5px;
}

.logo-cell h1 a.logo-link {
    color: #003366;
    text-decoration: none;
}

.logo-cell h1 a.logo-link:hover {
    color: #003366;
    text-decoration: none;
}

.logo-cell p {
    font-size: 12px;
    color: #777777;
    margin: 2px 0 0 0;
}

.nav-cell {
    text-align: right;
    padding: 16px 20px;
    font-size: 12px;
    vertical-align: middle;
}

.nav-cell a {
    color: #003366;
    text-decoration: none;
    font-weight: 600;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s;
}

.nav-cell a:hover {
    text-decoration: none;
    color: #cc3300;
    border-bottom-color: #cc3300;
}

.nav-sep {
    color: #cccccc;
    margin: 0 10px;
}

/* Main Content */
.main-table {
    margin-top: 12px;
}

.content-cell {
    background-color: #ffffff;
    border: 1px solid #c0bfba;
    border-radius: 4px;
    padding: 0;
}

/* Sections */
.section {
    padding: 24px 28px;
    border-bottom: 1px solid #e5e3de;
}

.section:last-child {
    border-bottom: none;
}

.section-heading {
    font-family: 'Times New Roman', Times, serif;
    font-size: 24px;
    color: #003366;
    margin: 0 0 6px 0;
    font-weight: bold;
}

.section-rule {
    border: none;
    border-top: 2px solid #003366;
    margin: 6px 0 18px 0;
}

/* Text */
.text-cell {
    padding: 0 14px 0 0;
    line-height: 1.8;
}

.text-cell p {
    margin: 0;
}

/* Screenshots */
.screenshot {
    width: 100%;
    border: 2px solid #b0b0b0;
    border-radius: 3px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.image-cell {
    padding: 0 0 0 14px;
}

/* Features Table */
.features-table {
    border: 1px solid #d0cfca;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 4px;
    overflow: hidden;
}

.feature-cell {
    padding: 14px 16px;
    border: 1px solid #e5e3de;
    background-color: #f7f6f3;
    line-height: 1.7;
    font-size: 12px;
    transition: background-color 0.2s;
}

.feature-cell:hover {
    background-color: #f0efe9;
}

.feature-cell b {
    color: #003366;
    font-size: 13px;
}

/* Download Table */
.download-table {
    border: 1px solid #c0bfba;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 4px;
    overflow: hidden;
}

.download-table td {
    border-bottom: 1px solid #e5e3de;
    padding: 12px 14px;
    font-size: 12px;
    vertical-align: top;
}

.download-table tr:last-child td {
    border-bottom: none;
}

.download-header {
    background: linear-gradient(to bottom, #003366, #002244);
    color: #ffffff;
}

.download-header td {
    color: #ffffff;
    border-bottom-color: #003366;
    font-size: 12px;
}

.download-link {
    color: #cc3300;
    font-weight: bold;
    text-decoration: none;
    padding: 3px 8px;
    border: 1px solid #cc3300;
    border-radius: 3px;
    transition: all 0.2s;
}

.download-link:hover {
    background-color: #cc3300;
    color: #ffffff;
    text-decoration: none;
}

/* Tech Badges */
.tech-cell {
    background-color: #f0efe9;
    border: 1px solid #c0bfba;
    padding: 7px 16px;
    font-size: 11px;
    font-weight: bold;
    color: #003366;
    text-align: center;
    border-radius: 3px;
    transition: background-color 0.2s;
}

.tech-cell:hover {
    background-color: #e5e3de;
}

/* Footer */
footer {
    margin-top: 12px;
    padding-bottom: 24px;
}

.footer-rule {
    border: none;
    border-top: 2px solid #003366;
    margin: 0 0 10px 0;
}

footer p {
    font-size: 11px;
    color: #777777;
    margin: 4px 0;
}

footer a {
    color: #0055a4;
    font-size: 11px;
}

.small-text {
    font-size: 10px;
    color: #aaaaaa;
}

/* Code */
code {
    font-family: 'Courier New', Courier, monospace;
    background-color: #f5f5f0;
    border: 1px solid #d0cfca;
    padding: 2px 6px;
    font-size: 12px;
    border-radius: 2px;
}

/* Responsive */
@media (max-width: 700px) {
    .header-table {
        display: block;
    }

    .logo-cell, .nav-cell {
        display: block;
        text-align: center;
        padding: 12px;
    }

    .nav-sep {
        display: none;
    }

    .nav-cell a {
        display: inline-block;
        margin: 4px 8px;
    }

    .features-table tr {
        display: block;
    }

    .feature-cell {
        display: block;
        width: 100% !important;
        margin-bottom: 8px;
    }

    .download-table {
        display: block;
    }

    .download-header {
        display: none;
    }

    .download-table tr {
        display: block;
        border-bottom: 1px solid #e5e3de;
        padding: 10px;
    }

    .download-table td {
        display: block;
        width: 100% !important;
        border: none;
        padding: 4px 0;
    }
}
