/* OctaStories Custom Styles */

/* Import Urdu font */
@import url('https://fonts.googleapis.com/css2?family=Noto+Nastaliq+Urdu:wght@400;700&display=swap');

/* General */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Navbar */
.navbar-brand {
    font-weight: 600;
    font-size: 1.5rem;
}

/* Cards */
.card {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: box-shadow 0.15s ease-in-out;
}

.card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.card-header {
    border-bottom: none;
    font-weight: 600;
}

/* Stats cards */
.card .display-4 {
    font-size: 2.5rem;
}

/* Tables */
.table th {
    font-weight: 600;
    border-top: none;
}

.table-hover tbody tr:hover {
    background-color: rgba(var(--bs-primary-rgb), 0.05);
}

/* Progress bars */
.progress {
    border-radius: 1rem;
    overflow: hidden;
}

.progress-bar {
    font-weight: 600;
}

/* Accordion */
.accordion-button:not(.collapsed) {
    background-color: rgba(var(--bs-primary-rgb), 0.1);
    color: var(--bs-primary);
}

/* Video containers */
video {
    background-color: #000;
}

/* Urdu text */
[dir="rtl"] {
    text-align: right;
}

/* Badges */
.badge {
    font-weight: 500;
}

/* Form controls */
.form-control:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}

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

/* Buttons */
.btn-lg {
    padding: 0.75rem 1.5rem;
}

/* Loading states */
.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Footer */
footer {
    font-size: 0.875rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.25rem;
    }

    .card .display-4 {
        font-size: 2rem;
    }

    .btn-lg {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

/* Animation for processing status */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.processing-indicator {
    animation: pulse 2s ease-in-out infinite;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}
