@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Outfit', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    color: #2d3748;
}

/* Premium Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 1rem 0;
}

.navbar-brand {
    color: #1a202c !important;
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-link {
    color: #4a5568 !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #3182ce !important;
}

/* Glassmorphism Cards */
.card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.card-header {
    background: transparent !important;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 2rem 2rem 1rem !important;
}

.card-header h3 {
    font-weight: 700;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
}

/* Form Controls */
.form-control, .form-select {
    border-radius: 12px;
    padding: 0.85rem 1.2rem;
    border: 2px solid #e2e8f0;
    background-color: #f7fafc;
    transition: all 0.3s ease;
    font-weight: 400;
}

.form-control:focus, .form-select:focus {
    border-color: #4facfe;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(79, 172, 254, 0.15);
}

.form-label {
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 0.5rem;
}

/* Buttons */
.btn {
    border-radius: 12px;
    padding: 0.8rem 1.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-primary {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border: none;
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    box-shadow: 0 10px 20px rgba(79, 172, 254, 0.4);
    transform: translateY(-2px);
}

.btn-dark {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    border: none;
}

.btn-dark:hover {
    box-shadow: 0 10px 20px rgba(26, 32, 44, 0.3);
    transform: translateY(-2px);
}

/* Badges */
.badge {
    padding: 0.6em 1em;
    font-weight: 600;
    border-radius: 8px;
    letter-spacing: 0.5px;
}

/* Dynamic Rows animation */
.co-author-row {
    animation: slideIn 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes slideIn {
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* Headings in forms */
h5.border-bottom {
    border-color: #e2e8f0 !important;
    color: #2d3748;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Subtle styling for auth pages */
.auth-wrapper {
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
}
