:root {
    --primary-color: #0b3d91; /* Deep Academic Blue */
    --secondary-color: #f7a800; /* Gold accent */
    --bg-color: #f8f9fa;
    --text-color: #333333;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: 'Playfair Display', serif;
}

.bg-primary-custom {
    background-color: var(--primary-color) !important;
}

.text-primary-custom {
    color: var(--primary-color) !important;
}

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

.btn-primary-custom:hover {
    background-color: #082b66;
    border-color: #082b66;
    color: white;
}

.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.badge-status-pending { background-color: #ffc107; color: #000; }
.badge-status-review { background-color: #17a2b8; }
.badge-status-correction { background-color: #fd7e14; }
.badge-status-approved { background-color: #28a745; }
.badge-status-rejected { background-color: #dc3545; }
.badge-status-published { background-color: #6f42c1; }

/* Dashboard layout */
.sidebar {
    background-color: white;
    min-height: calc(100vh - 140px);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.sidebar .nav-link {
    color: var(--text-color);
    border-radius: 8px;
    margin-bottom: 5px;
    padding: 10px 15px;
}

.sidebar .nav-link:hover, .sidebar .nav-link.active {
    background-color: var(--primary-color);
    color: white;
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a56bc 100%);
    color: white;
    padding: 20px 0; /* Reduced padding for smaller hero height */
    text-align: center;
    border-radius: 0 0 30px 30px;
    margin-top: -1.5rem;
    margin-bottom: 3rem;
}

.search-box {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 8px;
    border-radius: 50px;
    display: flex;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.search-box input {
    border: none;
    box-shadow: none;
    border-radius: 50px 0 0 50px;
    padding-left: 25px;
}

.search-box button {
    border-radius: 50px;
    padding: 10px 30px;
}

/* Floating CFP Card Animation */
.floating-cfp-card {
    animation: floatCard 3s ease-in-out infinite;
    border-radius: 15px;
    overflow: hidden;
}

@keyframes floatCard {
    0% { transform: translateY(0px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
    50% { transform: translateY(-10px); box-shadow: 0 15px 25px rgba(0,0,0,0.2); }
    100% { transform: translateY(0px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
}