/* ======================================================================
   BASTION_MUD :: REPORTING SYSTEM STYLESHEET
   FILE: static/css/bastion_reports.css
   VERSION: 1001
   ----------------------------------------------------------------------
   Provides unified styling for:
       • Report submission form
       • Report list view
       • Report detail view
       • GM/Admin controls
       • Audit log + comments
   ====================================================================== */


/* -------------------------------------------------------------
   GENERAL BASTION ELEMENTS
------------------------------------------------------------- */

.page-title {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #9cf;
    text-shadow: 0 0 4px #3af;
}

.section-title {
    font-size: 1.4em;
    margin-top: 25px;
    margin-bottom: 10px;
    color: #cff;
    border-bottom: 1px solid #333;
    padding-bottom: 4px;
}

.bastion-panel {
    background-color: #1a1a1a;
    border: 1px solid #333;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 30px;
    box-shadow: 0 0 10px #000 inset;
}


/* -------------------------------------------------------------
   FORM ELEMENTS
------------------------------------------------------------- */

.bastion-form,
.bastion-form-inline {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bastion-form-inline {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
}

.bastion-label {
    font-weight: bold;
    color: #9cf;
}

.bastion-input,
.bastion-select,
.bastion-textarea {
    background-color: #111;
    border: 1px solid #444;
    color: #ddd;
    padding: 8px;
    border-radius: 4px;
    font-family: Consolas, monospace;
}

.bastion-input:focus,
.bastion-select:focus,
.bastion-textarea:focus {
    outline: none;
    border-color: #6af;
    box-shadow: 0 0 6px #6af;
}

.bastion-button {
    background-color: #2a4a7a;
    color: #cff;
    border: 1px solid #3a6aa8;
    padding: 10px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-family: Consolas, monospace;
    transition: background-color 0.2s ease;
}

.bastion-button:hover {
    background-color: #3a6aa8;
}

.bastion-checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ccc;
}


/* -------------------------------------------------------------
   TABLES (Report List)
------------------------------------------------------------- */

.bastion-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95em;
}

.bastion-table th {
    background-color: #222;
    color: #9cf;
    padding: 10px;
    border-bottom: 1px solid #444;
}

.bastion-table td {
    padding: 10px;
    border-bottom: 1px solid #333;
    color: #ddd;
}

.bastion-row-link {
    cursor: pointer;
}

.bastion-row-link:hover {
    background-color: #2a2a2a;
}


/* -------------------------------------------------------------
   REPORT DETAIL VIEW
------------------------------------------------------------- */

.bastion-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.bastion-description {
    background-color: #111;
    border: 1px solid #333;
    padding: 12px;
    border-radius: 4px;
    white-space: pre-wrap;
    color: #ddd;
}


/* -------------------------------------------------------------
   COMMENTS
------------------------------------------------------------- */

.bastion-comments {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.bastion-comment {
    background-color: #111;
    border: 1px solid #333;
    padding: 10px;
    border-radius: 4px;
}

.bastion-comment .meta {
    font-size: 0.85em;
    color: #aaa;
    margin-bottom: 6px;
}

.bastion-comment .body {
    color: #ddd;
}

.bastion-comment.internal {
    border-color: #663;
    background-color: #221;
}

.internal-tag {
    background-color: #663;
    color: #ffd;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 8px;
    font-size: 0.75em;
}


/* -------------------------------------------------------------
   AUDIT LOG
------------------------------------------------------------- */

.bastion-audit-log {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.audit-entry {
    background-color: #111;
    border: 1px solid #333;
    padding: 10px;
    border-radius: 4px;
    color: #ccc;
}

.audit-entry .timestamp {
    float: right;
    color: #888;
}

.audit-entry .change {
    margin-top: 6px;
    font-size: 0.9em;
    color: #bbb;
}