/* --- TOOL CONTAINER OVERRIDES --- */
.tool-container {
    max-width: 1100px;
}

.control-panel, .export-panel {
    background: #050505;
    padding: 25px;
    height: 100%;
}

/* --- INPUT FIELD STYLING --- */
.input-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.dossier-label {
    color: #c5b358;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    font-weight: bold;
}

.tactical-input {
    background: #0a0a0a;
    border: 1px solid #222;
    border-bottom: 2px solid #8b0000;
    color: #ddd;
    padding: 8px 12px;
    font-family: monospace;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.tactical-input:focus {
    border-color: #c5b358;
    background: #111;
}


/* Custom Dropdown Arrow & Option Styling */
select.tactical-input {
cursor: pointer;
    appearance: none; 
    background-image: linear-gradient(45deg, transparent 50%, #8b0000 50%), linear-gradient(135deg, #8b0000 50%, transparent 50%);
    /* Centers the arrow vertically */
    background-position: calc(100% - 20px) center, calc(100% - 15px) center;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    /* Prevents the arrow from flying when focused */
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

select.tactical-input option {
    background: #0a0a0a; /* Dark background for the expanded list */
    color: #c5b358;      /* Gold text for the options */
    padding: 10px;
}

/* --- CUSTOM CHECKBOX --- */
.checkbox-group {
    flex-direction: row;
    align-items: center;
    margin-top: 25px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #222;
}

.tactical-checkbox {
    appearance: none;
    width: 22px;
    height: 22px;
    background: #0a0a0a;
    border: 1px solid #8b0000;
    margin-right: 12px;
    cursor: pointer;
    position: relative;
    transition: background 0.2s;
}

.tactical-checkbox:checked {
    background: #8b0000;
}

.tactical-checkbox:checked::after {
    content: '■';
    color: #c5b358;
    position: absolute;
    top: -1px;
    left: 4px;
    font-size: 14px;
}

.toggle-label {
    margin-bottom: 0;
    cursor: pointer;
    color: #aaa;
}

.toggle-label:hover {
    color: #ddd;
}

/* --- ADVANCED SETTINGS PANEL --- */
.advanced-settings {
    display: none; 
    margin-top: 10px;
    padding: 10px 12px 5px 15px;
    background: rgba(139, 0, 0, 0.03);
    border-left: 2px solid #8b0000;
}

.adv-title {
    color: #888 !important;
    font-size: 0.85rem !important;
    margin-bottom: 20px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- SUBMIT ACTION BUTTON --- */
.submit-container {
    margin-top: 30px;
}

.submit-action {
    width: 100%;
    padding: 15px;
    background: #8b0000;
    color: #fff;
    border: 1px solid #8b0000;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
}

.submit-action:hover {
    background: #c5b358;
    color: #050505;
    border-color: #c5b358;
    box-shadow: 0 4px 15px rgba(197, 179, 88, 0.4);
}

.submit-action:active {
    transform: translateY(2px);
}

/* --- EXPORT TEXTBOX AREA --- */
.export-container {
    display: flex;
    flex-direction: column;
    align-items: right;
    justify-content: space-between;
    height: calc(100% - 40px); /* Fill remaining height under header */
    padding-top: 10px;
}

.tactical-textarea {
    width: 100%;
    flex-grow: 1;
    min-height: 350px;
    background: #0a0a0a;
    border: 1px solid #222;
    border-top: 3px solid #c5b358; 
    color: #fff;
    padding: 25px;
    font-family: monospace;
    font-size: 0.95rem;
    resize: none;
    outline: none;
    margin-bottom: 25px;
    text-align: left; 
    line-height: 1.5;
}

.copy-action {
    width: 100%;
    padding: 15px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}