/**
 * Public Custom CSS - Rafflesia Powerful Redesign
 * Theme: Deep Red, Black, Gold
 */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    /* Rafflesia Palette */
    --primary-color: #8B0000;
    /* Deep Red / Maroon */
    --primary-dark: #5e0000;
    --primary-light: #b91c1c;
    --accent-color: #C89632;
    /* Gold/Bronze */
    --accent-hover: #eab308;

    --dark-bg: #0f172a;
    /* Dark Slate */
    --darker-bg: #020617;
    /* Near Black */

    --success-color: #059669;
    --warning-color: #d97706;
    --danger-color: #dc2626;

    --bg-color: #f8fafc;
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(139, 0, 0, 0.1);

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 15px rgba(139, 0, 0, 0.2);
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: #1e293b;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

/* Navbar - Clean White for Logo Visibility */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 3px solid var(--primary-color);
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(139, 0, 0, 0.1);
}

.navbar-brand img {
    height: 50px;
    margin-right: 15px;
    filter: none;
    /* Removed drop shadow to keep logo crisp */
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05) rotate(2deg);
}

.navbar-brand span {
    color: var(--primary-color);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: none;
}

.nav-link {
    color: #1e293b !important;
    /* Slate 800 */
    font-weight: 600;
    transition: all 0.3s ease !important;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    transform: translateY(-2px);
    background: rgba(139, 0, 0, 0.05);
    /* Subtle red bg on hover */
    border-radius: 0.5rem;
}

/* Glass Card - Premium */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(200, 150, 50, 0.3);
    /* Gold border hint */
    border-top: 4px solid var(--primary-color);
    border-radius: 1rem;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -5px rgba(139, 0, 0, 0.15);
    border-color: var(--accent-color);
}

/* Hero Section */
.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 800;
    background: linear-gradient(135deg, #000000 0%, #8B0000 60%, #b91c1c 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Status Badges */
.status-badge {
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.status-valid {
    background: linear-gradient(135deg, #065f46 0%, #059669 100%);
    color: white;
    border: 1px solid #047857;
}

.status-revoked {
    background: linear-gradient(135deg, #7f1d1d 0%, #dc2626 100%);
    color: white;
    border: 1px solid #b91c1c;
}

/* Forms */
.form-control {
    border-radius: 0.5rem;
    border: 2px solid #e2e8f0;
    padding: 1rem;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(139, 0, 0, 0.1);
}

.input-group-text {
    background-color: #1a0505;
    color: white;
    /* Gold icon */
    border: none;
}

.input-group-text i {
    color: var(--accent-color);
}

.btn-primary {
    background: linear-gradient(135deg, #8B0000 0%, #b91c1c 100%);
    border: none;
    border-radius: 0.5rem;
    padding: 1rem 2.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(139, 0, 0, 0.3);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5e0000 0%, #8B0000 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.4);
    color: var(--accent-color);
}

/* Animations */
@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(139, 0, 0, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(139, 0, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(139, 0, 0, 0);
    }
}

.pulse-animation {
    animation: pulse-glow 2s infinite;
}

/* Footer */
footer {
    background: #000000;
    color: #94a3b8;
    margin-top: auto;
    border-top: 3px solid var(--accent-color);
}

/* Icon colors */
.icon-gold {
    color: var(--accent-color);
}

.icon-red {
    color: var(--primary-color);
}