/* ===================================
   HIPMAWAN PKU - Sistema Komunitas
   Unified Stylesheet
   =================================== */

/* ===================================
   CSS VARIABLES
   =================================== */
:root {
    /* Modern Green Theme - Emerald, Teal & Lime */
    --primary-color: #10b981;        /* Emerald 500 - Primary Green */
    --primary-light: #34d399;        /* Emerald 400 - Light Green */
    --primary-dark: #059669;         /* Emerald 600 - Dark Green */
    --accent-teal: #14b8a6;          /* Teal 500 - Fresh Teal */
    --accent-lime: #84cc16;          /* Lime 500 - Bright Lime */
    
    /* Secondary Colors */
    --secondary-color: #0d9488;      /* Teal 600 - Deep Teal */
    --secondary-dark: #0f766e;       /* Teal 700 - Darker Teal */
    
    /* Status Colors - Softer Tones */
    --success-color: #10b981;        /* Emerald 500 */
    --danger-color: #f87171;         /* Soft Red */
    --warning-color: #fbbf24;        /* Soft Amber */
    --info-color: #06b6d4;           /* Cyan 500 */
    
    /* Background Colors */
    --dark-bg: #064e3b;              /* Emerald 900 - Deep Green */
    --light-bg: #ffffff;
    --gray-bg: #f0fdf4;              /* Green 50 - Subtle Green Tint */
    --text-dark: #065f46;            /* Emerald 800 */
    --text-muted: #6b7280;           /* Gray 500 */
    --border-color: #d1fae5;         /* Emerald 100 */
    
    /* Modern Gradients - Green Theme */
    --gradient-primary: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-accent: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
    --gradient-dark: linear-gradient(135deg, #064e3b 0%, #065f46 100%);
    --gradient-hero: linear-gradient(135deg, #34d399 0%, #10b981 50%, #059669 100%);
    --gradient-secondary: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
    
    /* Modern Shadows - Softer */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.08), 0 4px 6px rgba(0, 0, 0, 0.03);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.12), 0 10px 10px rgba(0, 0, 0, 0.03);
}

/* ===================================
   GLOBAL STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    background-color: var(--light-bg);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* ===================================
   TYPOGRAPHY
   =================================== */
h2 {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1.875rem;
    margin-bottom: 8px;
}

h3 {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1.5rem;
}

h4 {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.25rem;
}

h5 {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.125rem;
}

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

.lead {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* ===================================
   SIDEBAR STYLES
   =================================== */
.sidebar {
    background: var(--dark-bg) !important;
    min-height: 100vh;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}

.sidebar h4 {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
    color: #fff !important;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255,255,255,0.1);
}

.sidebar .nav-link {
    color: rgba(255,255,255,0.8) !important;
    border-radius: 8px;
    margin-bottom: 5px;
    padding: 12px 16px;
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.sidebar .nav-link:hover {
    background: rgba(255,255,255,0.1);
    color: #fff !important;
    transform: translateX(4px);
}

.sidebar .nav-link.active {
    background: var(--primary-color);
    color: #fff !important;
    box-shadow: none;
}

.sidebar .nav-link i {
    font-size: 1.1rem;
    margin-right: 10px;
    width: 20px;
}

.sidebar .badge {
    margin-left: auto;
    font-size: 0.75rem;
    padding: 4px 8px;
}

.sidebar-user {
    min-height: 100vh;
    background: linear-gradient(180deg, #10b981 0%, #059669 100%);
}

/* ===================================
   NAVBAR STYLES (Landing Page)
   =================================== */
.navbar {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08), 0 1px 0px rgba(255, 255, 255, 0.5) inset;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.6rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: -0.5px;
    text-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

.navbar-brand:hover {
    transform: scale(1.08) translateY(-1px);
    filter: brightness(1.1);
}

.navbar-brand i {
    margin-right: 10px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(102, 126, 234, 0.3));
}

.nav-link {
    font-weight: 600;
    color: var(--text-dark) !important;
    margin: 0 12px;
    padding: 8px 16px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border-radius: 8px;
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
}

.nav-link:hover:after {
    width: 70%;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    background: rgba(102, 126, 234, 0.06);
    transform: translateY(-2px);
}

/* ===================================
   HERO SECTION (Landing Page)
   =================================== */
.hero {
    background: var(--gradient-hero);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 150px 0 100px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="80" height="80" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1.5" fill="white" opacity="0.15"/><circle cx="40" cy="40" r="1" fill="white" opacity="0.1"/></svg>');
    background-size: 80px 80px;
    animation: moveBackground 30s linear infinite;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

@keyframes moveBackground {
    0% { transform: translate(0, 0); }
    100% { transform: translate(80px, 80px); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-30px); }
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease;
    position: relative;
    z-index: 1;
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1rem;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease;
    position: relative;
    z-index: 1;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   BUTTON STYLES
   =================================== */
.btn {
    border-radius: 10px;
    padding: 11px 24px;
    font-weight: 600;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.875rem;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
    color: white;
}

.btn-success {
    background: var(--success-color);
    color: white;
}

.btn-success:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    color: white;
}

.btn-warning {
    background: var(--warning-color);
    color: white;
}

.btn-warning:hover {
    background: #d97706;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    color: white;
}

.btn-danger {
    background: var(--danger-color);
    color: white;
}

.btn-danger:hover {
    background: var(--accent-red-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    color: white;
}

.btn-info {
    background: var(--info-color);
    color: white;
}

.btn-info:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    color: white;
}

.btn-secondary {
    background: #64748b;
    color: white;
}

.btn-secondary:hover {
    background: #333333;
    transform: none;
}

.btn-light {
    background: white;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

.btn-light:hover {
    background: var(--light-bg);
    border-color: var(--text-muted);
}

/* Hero Buttons */
.btn-hero {
    display: inline-block;
    padding: 14px 32px;
    background: var(--accent-teal);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    margin-right: 15px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(20, 184, 166, 0.3);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.btn-hero:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.4);
}

.btn-outline-hero {
    display: inline-block;
    padding: 14px 32px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.btn-outline-hero:hover {
    background: white;
    color: var(--primary-color);
    border-color: white;
    transform: translateY(-2px);
}

.btn-submit {
    background: var(--primary-color);
    border: none;
    padding: 12px 40px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 3px;
    transition: all 0.2s;
}

.btn-submit:hover {
    background: var(--primary-dark);
}

/* ===================================
   CARD STYLES
   =================================== */
.card {
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    position: relative;
}

.card:hover {
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
    transform: translateY(-4px);
    border-color: rgba(16, 185, 129, 0.2);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover::before {
    opacity: 1;
}

.card-header {
    background: linear-gradient(to bottom, rgba(248, 250, 252, 0.8), white);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    font-weight: 700;
    padding: 24px 28px;
    color: var(--text-dark);
    letter-spacing: -0.3px;
}

.card-header.bg-primary {
    background: var(--primary-color) !important;
    color: white !important;
    border: none;
}

.card-header.bg-success {
    background: var(--secondary-color) !important;
    color: white !important;
    border: none;
}

.card-header.bg-warning {
    background: var(--warning-color) !important;
    color: white !important;
    border: none;
}

.card-header.bg-info {
    background: var(--info-color) !important;
    color: white !important;
    border: none;
}

.card-header.bg-danger {
    background: var(--danger-color) !important;
    color: white !important;
    border: none;
}

.card-body {
    padding: 24px;
}

/* Stat Cards */
.stat-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.stat-card:hover {
    box-shadow: 0 12px 45px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
    transform: translateY(-8px) scale(1.02);
}

.stat-card:hover::after {
    opacity: 1;
}

.stat-card .card-body {
    padding: 24px;
    position: relative;
}

.stat-card.border-primary .card-body {
    background: var(--primary-color);
    color: white;
}

.stat-card.border-success .card-body {
    background: var(--secondary-color);
    color: white;
}

.stat-card.border-warning .card-body {
    background: var(--warning-color);
    color: white;
}

.stat-card.border-info .card-body {
    background: var(--info-color);
    color: white;
}

.stat-card.border-danger .card-body {
    background: var(--danger-color);
    color: white;
}

.stat-card h6 {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 1;
    margin-bottom: 8px;
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.stat-card h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1;
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.stat-card i {
    font-size: 3rem;
    opacity: 0.35;
    color: white !important;
}

.stat-card .text-muted {
    color: rgba(255,255,255,0.95) !important;
}

/* ===================================
   SECTION STYLES
   =================================== */
section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.2rem;
    position: relative;
    display: inline-block;
    letter-spacing: -1px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background: var(--gradient-primary);
    border-radius: 3px;
    box-shadow: 0 3px 12px rgba(102, 126, 234, 0.4);
}

.section-title-form {
    color: var(--primary-color);
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary-color);
}

.section-title-form:first-child {
    margin-top: 0;
}

/* About Section */
.about {
    background: var(--gray-bg);
    padding: 100px 0;
}

.about .col-md-4 {
    transition: all 0.3s ease;
}

.about .col-md-4 > div {
    background: white;
    padding: 45px 35px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    border: 1px solid rgba(226, 232, 240, 0.6);
    position: relative;
    overflow: hidden;
}

.about .col-md-4 > div::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.about .col-md-4:hover > div {
    transform: translateY(-12px);
    box-shadow: 0 16px 50px rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.3);
}

.about .col-md-4:hover > div::before {
    transform: scaleX(1);
}

.about i {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 8px rgba(102, 126, 234, 0.3));
}

.about .col-md-4:hover i {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 6px 12px rgba(102, 126, 234, 0.5));
}

.about h4 {
    color: var(--text-dark);
    margin-top: 24px;
    margin-bottom: 16px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.about p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Kegiatan Section */
.kegiatan {
    padding: 100px 0;
    background: white;
}

.kegiatan-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(226, 232, 240, 0.4);
}

.kegiatan-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    mix-blend-mode: soft-light;
}

.kegiatan-item:hover {
    box-shadow: 0 20px 60px rgba(16, 185, 129, 0.2);
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(16, 185, 129, 0.4);
}

.kegiatan-item:hover::after {
    opacity: 0.15;
}

.kegiatan-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: all 0.4s ease;
}

.kegiatan-item:hover img {
    transform: scale(1.1);
}

.kegiatan-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(16, 185, 129, 0.95), rgba(16, 185, 129, 0.7) 50%, transparent);
    padding: 30px 20px 20px;
    color: white;
    transition: all 0.3s ease;
}

.kegiatan-item:hover .kegiatan-overlay {
    background: linear-gradient(to top, rgba(16, 185, 129, 0.98), rgba(5, 150, 105, 0.85) 60%, transparent);
}

.kegiatan-overlay h5 {
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}

.kegiatan-overlay p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.95);
}

.kegiatan-overlay i {
    color: rgba(255, 255, 255, 0.9);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--gradient-dark);
    color: white;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(20, 184, 166, 0.08) 100%);
    pointer-events: none;
}

.contact .lead {
    color: rgba(255, 255, 255, 0.8);
}

.contact-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 45px 35px;
    margin-bottom: 30px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-card:hover::before {
    transform: scaleX(1);
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.3);
}

.contact-card i {
    font-size: 3.5rem;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #34d399 0%, #14b8a6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 4px 12px rgba(20, 184, 166, 0.4));
}

.contact-card:hover i {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 6px 16px rgba(20, 184, 166, 0.6));
}

.contact-card h5 {
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.contact-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.contact-card .btn-light {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-card .btn-light:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.4);
}

/* ===================================
   FOOTER
   =================================== */
.footer,
footer {
    background: var(--dark-bg) !important;
    color: white;
    padding: 60px 0 !important;
    text-align: center;
}

footer p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
}

.social-icons a {
    color: white;
    font-size: 1.5rem;
    margin: 0 15px;
    transition: all 0.3s;
}

.social-icons a:hover {
    color: var(--accent-lime);
    transform: translateY(-3px);
}

/* ===================================
   FORM STYLES
   =================================== */
.form-control,
.form-select {
    border-radius: 12px;
    border: 2px solid rgba(226, 232, 240, 0.8);
    padding: 12px 18px;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.9);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12), 0 4px 12px rgba(16, 185, 129, 0.15);
    background: white;
    transform: translateY(-2px);
}

.form-label {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-size: 0.9rem;
    letter-spacing: -0.2px;
}

.form-card {
    background: white;
    border-radius: 0;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.form-header {
    background: var(--primary-color);
    color: white;
    padding: 40px;
    text-align: center;
}

.form-header h2 {
    font-weight: bold;
    margin-bottom: 10px;
    color: white;
}

.form-body {
    padding: 40px;
}

.required {
    color: red;
}

/* ===================================
   LOGIN PAGE STYLES
   =================================== */
body.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('gambar/login-background.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}

body.login-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.7) 0%, rgba(20, 184, 166, 0.6) 50%, rgba(6, 182, 212, 0.7) 100%);
    backdrop-filter: blur(2px);
    z-index: -1;
}

body.login-page::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, transparent 0%, rgba(0, 0, 0, 0.15) 100%);
    backdrop-filter: blur(1px);
    z-index: -1;
}

.login-card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    margin: 50px 0;
    overflow: hidden;
    animation: slideUp 0.6s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-card .card-body {
    position: relative;
}

.login-card i[style*="font-size: 4rem"] {
    animation: bounce 1s ease infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.login-card .form-control {
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    padding: 12px 16px;
    transition: all 0.3s ease;
}

.login-card .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.15);
}

.login-card .input-group-text {
    border-radius: 10px 0 0 10px;
    border: 2px solid #e2e8f0;
    border-right: none;
    background: #f8fafc;
}

.login-card .input-group:focus-within .input-group-text {
    border-color: var(--primary-color);
    background: rgba(16, 185, 129, 0.08);
}

.login-card .btn-primary {
    background: var(--primary-color);
    border: none;
    border-radius: 3px;
    padding: 12px;
    font-weight: 600;
}

.login-card .btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: none;
}

.login-card .btn-success {
    background: var(--success-color);
    border: none;
    border-radius: 3px;
    padding: 12px;
    font-weight: 600;
}

.login-card .btn-success:hover {
    background: #218838;
    box-shadow: none;
}

.role-switch {
    margin-bottom: 30px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 10px;
}

.role-switch .btn {
    border-radius: 20px;
    margin: 5px;
    padding: 8px 20px;
    font-weight: 600;
}

.login-card .alert {
    border: none;
    border-radius: 10px;
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.back-to-home {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 10;
}

.back-to-home a {
    color: white;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.back-to-home a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(-5px);
}

/* ===================================
   TABLE STYLES
   =================================== */
.table {
    margin-bottom: 0;
}

.table thead {
    background: var(--gradient-dark);
    color: white;
}

.table thead th {
    border: none;
    padding: 18px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.table tbody tr:hover {
    background: linear-gradient(to right, rgba(16, 185, 129, 0.05), rgba(20, 184, 166, 0.03));
    transform: scale(1.01);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.08);
}

.table tbody td {
    padding: 16px;
    vertical-align: middle;
    color: var(--text-dark);
}

.table-light {
    background: var(--light-bg);
}

/* ===================================
   ALERT STYLES
   =================================== */
.alert {
    border: none;
    border-radius: 10px;
    padding: 16px 20px;
    font-weight: 500;
}

.alert-success {
    background: var(--secondary-color);
    color: white;
}

.alert-danger {
    background: var(--danger-color);
    color: white;
}

.alert-warning {
    background: var(--warning-color);
    color: white;
}

.alert-info {
    background: var(--info-color);
    color: white;
}

.alert i {
    margin-right: 8px;
}

/* ===================================
   MODAL STYLES
   =================================== */
.modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 20px 25px rgba(0,0,0,0.15);
}

.modal-header {
    border-bottom: 2px solid var(--border-color);
    padding: 20px 24px;
    background: white;
}

.modal-header.bg-success,
.modal-header.bg-warning,
.modal-header.bg-primary,
.modal-header.bg-danger,
.modal-header.bg-info {
    border: none;
    color: white;
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    border-top: 2px solid var(--border-color);
    padding: 16px 24px;
    background: var(--light-bg);
}

/* ===================================
   BADGE STYLES
   =================================== */
.badge {
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.3px;
}

.badge.bg-success {
    background: var(--secondary-color) !important;
}

.badge.bg-danger {
    background: var(--danger-color) !important;
}

.badge.bg-warning {
    background: var(--warning-color) !important;
}

.badge.bg-info {
    background: var(--info-color) !important;
}

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

.badge.bg-secondary {
    background: #64748b !important;
}

/* Custom Status Badges */
.badge-pending {
    background: var(--warning-color) !important;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.75rem;
}

.badge-diterima {
    background: var(--secondary-color) !important;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.75rem;
}

.badge-ditolak {
    background: var(--danger-color) !important;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.75rem;
}

/* ===================================
   PROFILE & IMAGE STYLES
   =================================== */
.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--primary-color);
    box-shadow: var(--shadow-md);
}

.profile-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #f8f9fa;
}

img.rounded,
img.img-thumbnail {
    border-radius: 8px;
}

/* ===================================
   STATUS CHECK STYLES
   =================================== */
.check-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    overflow: hidden;
    max-width: 600px;
    margin: 0 auto;
}

.check-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    text-align: center;
}

.status-pending {
    background: #fff3cd;
    border-left: 5px solid #ffc107;
    padding: 20px;
    border-radius: 10px;
}

.status-diterima {
    background: #ecfdf5;
    border-left: 5px solid var(--success-color);
    padding: 20px;
    border-radius: 10px;
}

.status-ditolak {
    background: #fef2f2;
    border-left: 5px solid var(--danger-color);
    padding: 20px;
    border-radius: 10px;
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.readonly-badge {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.shadow-sm {
    box-shadow: var(--shadow-sm) !important;
}

.shadow {
    box-shadow: var(--shadow-md) !important;
}

.shadow-lg {
    box-shadow: var(--shadow-lg) !important;
}

/* ===================================
   SCROLLBAR
   =================================== */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gray-bg);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 10px;
    border: 2px solid var(--gray-bg);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

/* ===================================
   RESPONSIVE STYLES
   =================================== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .btn-hero,
    .btn-outline-hero {
        display: block;
        text-align: center;
        margin-right: 0;
    }
    
    .sidebar {
        position: fixed;
        z-index: 1000;
        width: 250px;
        left: -250px;
        transition: left 0.3s ease;
    }
    
    .sidebar.show {
        left: 0;
    }
   
    .login-card {
        margin: 20px;
    }
    
    body {
        background-attachment: scroll;
    }
}
