/**
 * ========================================
 * ODIA NEWS EPAPER - MAIN STYLESHEET
 * ========================================
 * File Location: /odia-news-epaper/assets/css/style.css
 * Description: Global styles and utilities
 * ========================================
 */

/* ========================================
 * GLOBAL STYLES
 * ======================================== */

:root {
    --primary-color: #667eea;
    --primary-dark: #764ba2;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-bg: #f5f6fa;
    --dark-text: #2c3e50;
    --border-color: #e0e0e0;
    --shadow: 0 5px 20px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-text);
    background: var(--light-bg);
    line-height: 1.6;
}

/* ========================================
 * ODIA FONT SUPPORT
 * ======================================== */

.odia-text,
.odia-input,
.odia-content {
    font-family: 'Nirmala UI', 'Kalinga', 'Lohit Oriya', sans-serif;
    font-size: 16px;
    line-height: 1.8;
}

/* ========================================
 * UTILITIES
 * ======================================== */

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.shadow-sm {
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.shadow {
    box-shadow: var(--shadow);
}

.rounded-lg {
    border-radius: 15px;
}
.sidebar .nav-link{justify-content: flex-start!important;}
/* ========================================
 * BUTTONS
 * ======================================== */

.btn {
    border-radius: 10px;
    padding: 10px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
}

/* ========================================
 * CARDS
 * ======================================== */

.card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.card-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    padding: 15px 20px;
}

/* ========================================
 * FORMS
 * ======================================== */

.form-control,
.form-select {
    border-radius: 10px;
    border: 2px solid var(--border-color);
    padding: 12px 20px;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 8px;
}

/* ========================================
 * BADGES
 * ======================================== */

.badge {
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 600;
}

/* ========================================
 * ALERTS
 * ======================================== */

.alert {
    border-radius: 10px;
    border: none;
    padding: 15px 20px;
}

/* ========================================
 * TABLES
 * ======================================== */

.table {
    background: white;
    border-radius: 10px;
    overflow: hidden;
}

.table thead {
    background: var(--light-bg);
}

.table td,
.table th {
    vertical-align: middle;
    padding: 15px;
}

/* ========================================
 * ANIMATIONS
 * ======================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease;
}

/* ========================================
 * RESPONSIVE
 * ======================================== */

@media (max-width: 768px) {
    .btn {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .card {
        margin-bottom: 15px;
    }
}

/* ========================================
 * PRINT STYLES
 * ======================================== */

@media print {
    body {
        background: white;
    }
    
    .no-print {
        display: none !important;
    }
}