/* Custom styles for Blue Voice Policy Compliance Analyzer */

/* Blue Voice brand colors */
:root {
    --bluevoice-primary: #4a90b8;
    --bluevoice-secondary: #6c757d;
    --bluevoice-light: #f8f9fa;
    --bluevoice-border: #dee2e6;
}

/* Body and layout adjustments */
body {
    background-color: #f8f9fa;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #212529;
}

/* Override Bootstrap primary color */
.text-primary {
    color: var(--bluevoice-primary) !important;
}

.btn-primary {
    background-color: var(--bluevoice-primary);
    border-color: var(--bluevoice-primary);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: #3d7ba0;
    border-color: #3d7ba0;
}

/* Card styling enhancements */
.card {
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border: 1px solid var(--bluevoice-border);
    background-color: white;
}

.card-header {
    border-bottom: 1px solid var(--bluevoice-border);
    background-color: var(--bluevoice-light);
    color: #495057;
}

/* Form styling */
.form-control {
    border: 1px solid var(--bluevoice-border);
}

.form-control:focus {
    border-color: var(--bluevoice-primary);
    box-shadow: 0 0 0 0.2rem rgba(74, 144, 184, 0.25);
}

/* Badge styling */
.badge {
    font-weight: 500;
    padding: 0.5rem 0.75rem;
}

/* Alert styling */
.alert {
    border-radius: 0.5rem;
    border: none;
}

/* Button enhancements */
.btn {
    border-radius: 0.375rem;
    font-weight: 500;
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
}

/* List styling */
.list-unstyled li {
    padding: 0.25rem 0;
}

/* Loading state */
.btn:disabled {
    opacity: 0.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
}

/* Text area enhancements */
textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

/* File input styling */
.form-control[type="file"] {
    padding: 0.5rem;
}

/* Card body spacing */
.card-body p:last-child {
    margin-bottom: 0;
}

/* Icon spacing */
.fas, .far {
    width: 1rem;
    text-align: center;
}

/* Custom background for analysis sections */
.bg-secondary.bg-opacity-10 {
    background-color: rgba(248, 249, 250, 0.8) !important;
    border: 1px solid var(--bluevoice-border);
}

/* Status-specific card headers */
.bg-success.bg-opacity-10 {
    background-color: rgba(25, 135, 84, 0.1) !important;
    border-bottom-color: rgba(25, 135, 84, 0.2) !important;
}

.bg-danger.bg-opacity-10 {
    background-color: rgba(220, 53, 69, 0.1) !important;
    border-bottom-color: rgba(220, 53, 69, 0.2) !important;
}

.bg-info.bg-opacity-10 {
    background-color: rgba(74, 144, 184, 0.1) !important;
    border-bottom-color: rgba(74, 144, 184, 0.2) !important;
}

/* Blue Voice navigation styling (matching their existing app) */
.navbar-bluevoice {
    background-color: white;
    border-bottom: 1px solid var(--bluevoice-border);
    padding: 1rem 0;
}

/* Logo styling */
.bluevoice-logo {
    height: 40px;
    width: 40px;
}

/* Additional Blue Voice styling to match their app */
.text-secondary {
    color: var(--bluevoice-secondary) !important;
}

.btn-secondary {
    background-color: var(--bluevoice-secondary);
    border-color: var(--bluevoice-secondary);
}

.btn-secondary:hover, .btn-secondary:focus {
    background-color: #5a6268;
    border-color: #5a6268;
}
