﻿/*========================================================
  site.css
  Fulton County Schools branding + custom component styles
========================================================*/

/*--------------------------------------------------------
  1) Brand palette
--------------------------------------------------------*/
:root {
    --fcs-primary: #00593E;
    --fcs-secondary: #BFA240;
    --fcs-light: #E6F4EF;
    --fcs-accent: #FCF8E8;
    --fcs-text: #343A40;
    --fcs-bg: #F1F3F5;
    --danger: #dc3545;
    --muted-border: #dee2e6;
    --shadow-soft: 0 2px 8px rgba(0,0,0,0.10);
}

/*--------------------------------------------------------
  2) Base typography & layout
--------------------------------------------------------*/
html {
    font-size: 14px;
    min-height: 100%;
    position: relative;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin-bottom: 60px;
    color: var(--fcs-text);
    background-color: #fff;
}

/*--------------------------------------------------------
  3) Focus ring (Bootstrap-compatible)
--------------------------------------------------------*/
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus,
.form-select:focus,
textarea:focus {
    box-shadow: 0 0 0 0.1rem #fff, 0 0 0 0.25rem var(--fcs-primary);
    outline: none;
}

/*--------------------------------------------------------
  4) Buttons
--------------------------------------------------------*/
.btn-primary {
    background-color: var(--fcs-primary) !important;
    border-color: var(--fcs-primary) !important;
}

    .btn-primary:hover,
    .btn-primary:focus {
        background-color: var(--fcs-light) !important;
        color: var(--fcs-primary) !important;
    }

/*--------------------------------------------------------
  5) Navbar brand image sizing
--------------------------------------------------------*/
.navbar-brand img {
    height: 60px;
    width: auto;
}

/*--------------------------------------------------------
  6) Info box (instruction panel)
--------------------------------------------------------*/
.info-box {
    background: var(--fcs-accent);
    border: 1px solid var(--fcs-secondary);
    color: var(--fcs-primary);
    padding: 20px;
    border-radius: .5rem;
    margin-bottom: 30px;
}

/*--------------------------------------------------------
  7) Section containers
--------------------------------------------------------*/
.section-box {
    background: var(--fcs-bg);
    border: none;
    border-radius: .5rem;
    box-shadow: var(--shadow-soft);
    padding: 20px;
    margin-bottom: 30px;
}

.section-header {
    background: var(--fcs-light);
    color: var(--fcs-primary);
    padding: 10px 15px;
    border-radius: .5rem;
    font-weight: 600;
    margin-bottom: 15px;
}

/*--------------------------------------------------------
  8) Show/Hide helpers
--------------------------------------------------------*/
.hide-section {
    display: none !important;
}

/*--------------------------------------------------------
  9) Toggle-row spacing
--------------------------------------------------------*/
.section-toggle-row {
    margin-bottom: 20px;
}

/*--------------------------------------------------------
  10) Labels & required asterisk
--------------------------------------------------------*/
.form-label {
    color: var(--fcs-primary);
}
/* keep the red asterisk red even with brand colors */
.text-danger {
    color: var(--danger) !important;
}

/*--------------------------------------------------------
  11) File drop zone (matches JS: .dz, .dz-hover, .is-invalid)
--------------------------------------------------------*/
#drop-zone.dz,
.dz {
    border: 2px dashed var(--fcs-primary);
    border-radius: .5rem;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: background .2s, border-color .2s, outline-color .2s;
}

    .dz.dz-hover {
        outline: 2px dashed var(--danger);
        background: #fff5f5;
    }

    .dz.is-invalid {
        border-color: var(--danger);
    }

/* File list pills */
#file-list {
    margin-top: 8px;
}

.file-pill {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .25rem .5rem;
    border: 1px solid var(--muted-border);
    border-radius: 999px;
    margin: .25rem;
    background: #fff;
}

    .file-pill .remove {
        border: 0;
        background: transparent;
        cursor: pointer;
        line-height: 1;
    }

/* Optional thumbnail sizing (if you render previews) */
#file-list img {
    height: 30px;
    margin-left: 10px;
    border-radius: 4px;
    vertical-align: middle;
}

/*--------------------------------------------------------
  12) Validation visuals (the "red squares")
--------------------------------------------------------*/
/* Thick red border around invalid fields */
.form-control.is-invalid,
.form-select.is-invalid,
textarea.is-invalid {
    border: 2px solid var(--danger) !important;
}
/* Ensure help text is shown */
.invalid-feedback.d-block {
    display: block !important;
}

/* Slightly soften valid state (optional) */
.form-control.is-valid,
.form-select.is-valid,
textarea.is-valid {
    border-color: #198754 !important; /* Bootstrap success */
}

/*--------------------------------------------------------
  13) Modal backdrop (only if you ever use a custom one)
--------------------------------------------------------*/
.modal-bg {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1050;
}

/*--------------------------------------------------------
  14) Small utilities
--------------------------------------------------------*/
.cursor-pointer {
    cursor: pointer;
}
/* visual cue while dragging */
#drop-zone.dragover {
    outline: 2px dashed var(--fcs-primary);
    background: var(--fcs-light);
}

