/* STAR Story Tracker - Minimal Styling */

/* Global Styles */
body {
    background-color: #FFFFFF !important;
    color: #000000 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    line-height: 1.6;
}

.container {
    max-width: 800px;
    padding: 20px 15px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: #000000 !important;
    font-weight: 700 !important;
}

h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* Navigation */
.navbar {
    background-color: transparent !important;
    border-bottom: 1px solid #000000;
    padding: 1rem 0;
}

.navbar-brand {
    color: #000000 !important;
    font-size: 1.5rem;
    font-weight: 700 !important;
}

.nav-link {
    color: #000000 !important;
    font-weight: 500;
    margin-left: 1rem;
}

.nav-link:hover {
    color: #000000 !important;
    text-decoration: underline;
}

/* Cards */
.card {
    background-color: #FFFFFF !important;
    border: 1px solid #000000 !important;
    border-radius: 0 !important;
}

.card-header {
    background-color: #FFFFFF !important;
    border-bottom: 1px solid #000000 !important;
    color: #000000 !important;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    color: #000000 !important;
    font-weight: 700 !important;
    margin-bottom: 0.75rem;
}

.card-text {
    color: #000000 !important;
}

/* Forms */
.form-label {
    color: #000000 !important;
    font-weight: 600 !important;
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    background-color: #FFFFFF !important;
    border: 1px solid #000000 !important;
    border-radius: 0 !important;
    color: #000000 !important;
    padding: 0.75rem;
}

.form-control:focus, .form-select:focus {
    background-color: #FFFFFF !important;
    border-color: #000000 !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.1) !important;
    color: #000000 !important;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Buttons */
.btn {
    border-radius: 0 !important;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
}

.btn-dark {
    background-color: #000000 !important;
    border-color: #000000 !important;
    color: #FFFFFF !important;
}

.btn-dark:hover {
    background-color: #333333 !important;
    border-color: #333333 !important;
    color: #FFFFFF !important;
}

.btn-outline-dark {
    background-color: #FFFFFF !important;
    border-color: #000000 !important;
    color: #000000 !important;
}

.btn-outline-dark:hover {
    background-color: #000000 !important;
    border-color: #000000 !important;
    color: #FFFFFF !important;
}

.btn-outline-secondary {
    background-color: #FFFFFF !important;
    border-color: #666666 !important;
    color: #666666 !important;
}

.btn-outline-secondary:hover {
    background-color: #666666 !important;
    border-color: #666666 !important;
    color: #FFFFFF !important;
}

.btn-outline-danger {
    background-color: #FFFFFF !important;
    border-color: #dc3545 !important;
    color: #dc3545 !important;
}

.btn-outline-danger:hover {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
    color: #FFFFFF !important;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Alerts */
.alert {
    border-radius: 0 !important;
    border: 1px solid;
    margin-bottom: 1rem;
}

.alert-success {
    background-color: #FFFFFF !important;
    border-color: #000000 !important;
    color: #000000 !important;
}

.alert-danger {
    background-color: #FFFFFF !important;
    border-color: #dc3545 !important;
    color: #dc3545 !important;
}

.btn-close {
    filter: invert(1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px 10px;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .d-flex.gap-2 {
        flex-direction: column;
        align-items: stretch;
    }
    
    .d-flex.gap-2 > * {
        margin-bottom: 0.5rem;
    }
}

/* Empty State */
.text-center.py-5 {
    padding: 3rem 1rem !important;
}

/* Special border for random story */
.border-2 {
    border-width: 2px !important;
}

/* Ensure proper spacing */
.mb-4 {
    margin-bottom: 1.5rem !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}
