/* ==========================================================================
   SOFTNET COMPUTER APPLICATIONS - ASP.NET & VB.NET STYLESHEET
   File: css/site.css
   Description: Standard WebForms typography, grid components, & fallback styles.
   ========================================================================== */

@import url('portal-theme.css');

/* 1. Global Reset & Base Enhancements */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--portal-bg-page, #f4f5f6);
    color: var(--portal-text-primary, #0f172a);
}

p {
    text-align: justify;
}

/* 2. WebForms Components Reset */
form {
    margin: 0;
    padding: 0;
}

/* 3. Custom Form Controls & Validation */
.form-input-custom {
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    border: 1px solid var(--portal-border, #cbd5e1);
    border-radius: 0.375rem;
    background-color: var(--portal-bg-card, #ffffff);
    color: var(--portal-text-primary, #0f172a);
    transition: all 0.2s ease-in-out;
}

.form-input-custom:focus {
    outline: none;
    border-color: var(--portal-accent, #64748b);
    background-color: var(--portal-bg-card, #ffffff);
    box-shadow: 0 0 0 2px rgba(100, 116, 139, 0.1);
}

.form-label-custom {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--portal-text-secondary, #64748b);
    margin-bottom: 0.25rem;
}

/* Standard validation styles used by ASP.NET RequiredFieldValidator */
.validation-error {
    font-size: 0.75rem;
    color: #ef4444;
    font-weight: 600;
    margin-top: 0.25rem;
    display: block;
}

/* 4. Elegant Custom Table / GridView Layouts */
.gridview-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    overflow: hidden;
}

.gridview-table th {
    background-color: #0f172a;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.75rem 1rem;
    text-align: left;
}

.gridview-table td {
    padding: 0.75rem 1rem;
    font-size: 0.825rem;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
}

.gridview-table tr:hover {
    background-color: #f8fafc;
}

/* 5. Utility Typography */
.font-serif-serif {
    font-family: 'Playfair Display', Georgia, serif;
}

/* 6. Media Print Rules for Financial Ledgers */
@media print {
    header, footer, .no-print {
        display: none !important;
    }
    body {
        background-color: #ffffff;
        color: #000000;
    }
    .gridview-table {
        border: 1px solid #000000 !important;
    }
    .gridview-table th {
        background-color: #cccccc !important;
        color: #000000 !important;
    }
}
