@import url('https://fonts.googleapis.com/css?family=Libre+Franklin:300,400,600,700,800,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:300&display=swap');



body {
    background: 
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.6) 0%,
            rgba(0, 0, 0, 0.75) 50%,
            rgba(0, 0, 0, 1) 85%
        ),
        url('../img/bokeh.jpg') no-repeat center top fixed;
    background-size: cover;
    color: #e0e0e0;
    font-family: "Libre Franklin", sans-serif;
    font-size: 12px;
    font-weight: 300;
    min-height: 100vh;
}

.container {
    position: relative; /* Creates new stacking context */
    background: rgba(0, 0, 0, 0.25); /* Slight dark overlay on content */
    padding: 2rem !important; /* Breathing room */
}

.card {
    background-color: rgba(30,30,30,0.5) !important;
}

.card-body {
    background-color: rgba(40,40,40,0.5) !important;
}

h1 {
    color: #ffffff;
    font-family: "Libre Franklin", sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
}

.card {
    background-color: #2d2d2d;
    border: 1px solid #404040;
}

.list-group-item {
    background-color: #333333;
    color: #e0e0e0;
    border-color: #404040;
}

.list-group-item.active {
    background-color: #004080;
    border-color: #0059b3;
    color: white;
}

.form-control, .form-select {
    background-color: #404040;
    color: #e0e0e0;
    border: 1px solid #505050;
}

.form-control:focus, .form-select:focus {
    background-color: #4d4d4d;
    color: white;
    border-color: #0066cc;
    box-shadow: 0 0 0 0.25rem rgba(0, 102, 204, 0.25);
}

.modal-content {
    background-color: #333333;
    color: #e0e0e0;
}

.quote-text {
    color: #a0a0a0;
    font-style: italic;
}

.tone-badge {
    font-size: 0.9em;
    padding: 0.5em 0.75em;
}

.report-badge {
    font-size: 0.9em;
    min-width: 80px;
}

.last-updated {
    color: #808080;
    font-size: 0.85em;
}

.sentiment-controls .btn { 
    height: 38px; 
}
.sentiment-controls .form-control { 
    height: 38px;
    min-width: 70px;
}

/* Consistent control heights */
.btn-sm { height: 31px; }
.form-control-sm { height: 31px !important; }

/* Prevent input widening */
.reports-form-control { max-width: 90px; }

/* sentiment-controls.css */
.sentiment-controls .btn,
.sentiment-controls .form-control {
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.sentiment-controls .btn-sm {
    padding: 0.25rem 0.75rem;
}

input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
    padding: 0.375rem 0.5rem;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Advanced Terminal Aesthetics */
@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink {
    from, to { border-color: transparent }
    50% { border-color: #FF00FF }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.typewriter-label {
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid #FF00FF;
    animation: typing 2s steps(40, end), blink .75s step-end infinite;
}

.chromatic-hover {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.chromatic-hover:hover {
    text-shadow: 
        2px 0 0 rgba(255,0,255,0.5),
        -2px 0 0 rgba(0,251,251,0.5);
    filter: contrast(1.1);
}

.shimmer-effect {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    background-size: 200% 100%;
    animation: shimmer 3s infinite linear;
}

.gradient-border-glow {
    position: relative;
    border: none !important;
}

.gradient-border-glow::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,0,255,0.3), transparent, rgba(0,251,251,0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.tech-decal {
    position: absolute;
    width: 4px;
    height: 4px;
    border: 1px solid rgba(255,255,255,0.2);
}
.decal-tl { top: 4px; left: 4px; border-right: none; border-bottom: none; }
.decal-tr { top: 4px; right: 4px; border-left: none; border-bottom: none; }
.decal-bl { bottom: 4px; left: 4px; border-right: none; border-top: none; }
.decal-br { bottom: 4px; right: 4px; border-left: none; border-top: none; }

.parallax-bg {
    background-attachment: fixed;
    transition: transform 0.1s ease-out;
}


/* Sentiment badge styling */
.tone-badge {
    font-size: 0.8em;
    padding: 0.35em 0.7em;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 4px;
}

/* Reports counter styling */
.report-badge {
    background-color: #2d2d2d !important;
    border: 1px solid #404040;
    color: #e0e0e0 !important;
    font-weight: 600;
    padding: 0.5em 0.75em;
}

/* Category text */
.text-muted {
    color: #808080 !important;
    font-size: 0.85em;
}

/* Add this to css/style.css */
.report-input { width: 70px; }