/* AWStats Modern Theme Override */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@500;600;700&display=swap');

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    background-color: #f8fafc !important;
    color: #334155 !important;
    padding: 2rem !important;
    margin: 0 !important;
}

/* Document titles */
.aws_title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin-bottom: 1.5rem !important;
}

/* Links */
a:link, a:visited, a:active {
    color: #4f46e5 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}
a:hover {
    color: #4338ca !important;
    text-decoration: underline !important;
}

/* Borders and Tables */
table.aws_border {
    border-collapse: collapse !important;
    border: 1px solid #e2e8f0 !important;
    background-color: #ffffff !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05) !important;
    width: 100% !important;
    margin-bottom: 2rem !important;
}

/* Table Headers */
th.aws {
    background-color: #f1f5f9 !important;
    color: #0f172a !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    font-size: 0.8rem !important;
    letter-spacing: 0.05em !important;
    border-bottom: 2px solid #e2e8f0 !important;
    padding: 10px 14px !important;
    text-align: left !important;
}

/* Table Cells */
td.aws {
    border-bottom: 1px solid #f1f5f9 !important;
    padding: 10px 14px !important;
    font-size: 0.875rem !important;
    color: #475569 !important;
}

/* Alternating Row Color */
tr.aws_alt {
    background-color: #f8fafc !important;
}

/* Form controls */
select, input[type="submit"], input[type="button"] {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.875rem !important;
    padding: 0.4rem 0.8rem !important;
    border-radius: 6px !important;
    border: 1px solid #cbd5e1 !important;
    background-color: #ffffff !important;
    color: #0f172a !important;
    outline: none !important;
    cursor: pointer !important;
}

select:focus {
    border-color: #4f46e5 !important;
}

input[type="submit"], input[type="button"] {
    background-color: #4f46e5 !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 600 !important;
    transition: background-color 0.2s ease !important;
}

input[type="submit"]:hover, input[type="button"]:hover {
    background-color: #4338ca !important;
}

/* Image Bar Graphs styling */
img[src*="awstatsicons"] {
    border-radius: 3px !important;
    opacity: 0.9 !important;
}

/* Layout container styling */
hr {
    border: 0 !important;
    border-top: 1px solid #e2e8f0 !important;
    margin: 2rem 0 !important;
}
