﻿

/* Range Rules base layout for html files */


:root {
    --bg: #f7f8fa;
    --card: #ffffff;
    --muted: #555;
    --accent: #0b66ff;
    --radius: 12px;
    --pad: 20px;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}


button,
input[type="submit"] {
    background-color: none;
    color: #000;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 1rem;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    button:hover,
    input[type="submit"]:hover {
        background-color: #d9d9d9; /* darker gray on hover */
    }

details.inline {
    display: inline;
}

    details.inline summary {
        display: inline;
        cursor: pointer;
        color: #0066cc;
        text-decoration: underline;
    }

html, body {
    height: 100%
}



.container {
    width: 90%; /* fluid width, 90% of viewport */
    max-width: 1400px; /* limits how wide it can get on big screens */
    margin: 0 auto; /* centers horizontally */
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: 0 8px 20px rgba(17,24,39,0.08);
    padding: var(--pad);
    box-sizing: border-box;
}



h1 {
    margin: 0;
    font-size: 20px;
    text-align: center;
    margin-bottom: 1rem;
}

p.lead {
    margin: 8px 0 20px;
    color: var(--muted)
}


section {
    margin-bottom: 16px
}

h2 {
    font-size: 15px;
    margin: 0 0 8px
}

.muted {
    color: var(--muted);
    font-size: 14px
}

ul {
    margin: 8px 0 0 20px
}

li {
    margin: 6px 0
}

footer {
    margin-top: 15px;
    border-top: 1px solid #eef2f7;
    padding-top: 12px;
    color: var(--muted);
    font-size: 13px
}

@media (max-width: 400px) {
    .container {
        padding: 10px; /* reduce padding on very small screens */
    }
}


/* Print-friendly */
@media print {
    body {
        background: white;
        padding: 0
    }

    .container {
        box-shadow: none;
        border-radius: 0
    }
}
/* Small helper for collapsible details */
details {
    background: #fbfdff;
    border: 1px solid #eef6ff;
    padding: 10px;
    border-radius: 8px
}

    details summary {
        cursor: pointer;
        font-weight: 600
    }

.panel-close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 22px;
    cursor: pointer;
    color: #444;
    padding: 4px;
    border-radius: 4px;
}

    .panel-close:hover {
        background-color: #e0263c;
        color: #fffcfd;
    }

.site-footer {
    background-color: #e2eaf3;
    padding: 8px 12px;
    text-align: center;
    font-size: 0.8rem;
    color: gray;
    box-shadow: 0 6px 10px #0000001A;
    border-radius: 12px;
}

    .site-footer .footer-top {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        margin-bottom: 12px;
    }

    .site-footer .footer-links a {
        margin: 0 8px;
        color: gray;
        text-decoration: none;
    }

        .site-footer .footer-links a:hover {
            text-decoration: underline;
        }

    .site-footer .footer-text {
        max-width: 850px;
        margin: 0 auto 15px auto;
        line-height: 1.4;
        font-size: 0.68rem;
        color: #555;
    }

    .site-footer .footer-social {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-bottom: 15px;
    }

        .site-footer .footer-social img {
            width: 24px;
            height: 24px;
            transition: transform 0.2s ease;
        }

            .site-footer .footer-social img:hover {
                transform: scale(1.1);
            }

@media (max-width: 600px) {
    .site-footer .footer-text {
        font-size: 0.7rem;
        padding: 0 10px;
    }
}

.top-menu {
    background-color: #e2eaf3;
    padding: 8px;
}

    .top-menu ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .top-menu li {
        margin-bottom: 10px;
    }


    .top-menu a {
        text-decoration: none;
        color: #333;
    }

        .top-menu a:hover {
            text-decoration: underline;
        }

#backToTop {
    margin-top: 12px;
    font-size: 0.85rem;
}

    #backToTop a {
        color: blue;
        text-decoration: none;
    }

        #backToTop a:hover {
            text-decoration: underline;
        }
