* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #2E7D32;
    --light-green: #4CAF50;
    --gold: #FFD700;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --gray: #757575;
    --dark: #212121;
    --success: #4CAF50;
    --warning: #FF9800;
    --danger: #F44336;
    --info: #2196F3;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
    color: var(--dark);
    line-height: 1.6;
    min-height: 100vh;
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--light-green) 100%);
    color: var(--white);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    font-weight: bold;
}

.nav-links {
    display: flex;
    gap: 1rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s;
}

.nav-links a:hover {
    background: rgba(255,255,255,0.2);
}

.nav-links .btn {
    background: var(--gold);
    color: var(--primary-green);
    font-weight: bold;
}

.nav-links .btn:hover {
    background: var(--white);
    transform: translateY(-2px);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 3rem 1rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
}

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

.btn-primary:hover {
    background: var(--light-green);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.3);
}

.btn-secondary {
    background: var(--gold);
    color: var(--primary-green);
}

.btn-secondary:hover {
    background: #FFC107;
    transform: translateY(-2px);
}

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

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

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

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

.feature-card h3 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

/* Forms */
.form-container {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    max-width: 500px;
    margin: 0 auto;
}

.form-container h2 {
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.alert-success {
    background: #E8F5E9;
    color: var(--success);
    border-left: 4px solid var(--success);
}

.alert-error {
    background: #FFEBEE;
    color: var(--danger);
    border-left: 4px solid var(--danger);
}

.alert-warning {
    background: #FFF3E0;
    color: var(--warning);
    border-left: 4px solid var(--warning);
}

.alert-info {
    background: #E3F2FD;
    color: var(--info);
    border-left: 4px solid var(--info);
}

/* Cards */
.card {
    background: var(--white);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
}

.card-header {
    border-bottom: 2px solid var(--light-gray);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.card-header h3 {
    color: var(--primary-green);
}

/* Tables */
.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

thead {
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    color: var(--white);
}

th, td {
    padding: 1rem;
    text-align: left;
}

tbody tr {
    border-bottom: 1px solid var(--light-gray);
}

tbody tr:hover {
    background: var(--light-gray);
}

/* Status badges */
.badge {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
}

.badge-success {
    background: #E8F5E9;
    color: var(--success);
}

.badge-warning {
    background: #FFF3E0;
    color: var(--warning);
}

.badge-danger {
    background: #FFEBEE;
    color: var(--danger);
}

.badge-info {
    background: #E3F2FD;
    color: var(--info);
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    border-left: 4px solid var(--primary-green);
}

.stat-card h4 {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.stat-card .stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-green);
}

/* Notifications */
.notification-list {
    max-height: 400px;
    overflow-y: auto;
}

.notification-item {
    padding: 1rem;
    border-bottom: 1px solid var(--light-gray);
    transition: background 0.3s;
}

.notification-item:hover {
    background: var(--light-gray);
}

.notification-item.unread {
    background: #E8F5E9;
    border-left: 4px solid var(--primary-green);
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 3rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
    }

    .nav-links a {
        width: 100%;
        text-align: center;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    table {
        font-size: 0.85rem;
    }

    th, td {
        padding: 0.5rem;
    }
}

/* Loading spinner */
.spinner {
    border: 4px solid var(--light-gray);
    border-top: 4px solid var(--primary-green);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ============================================
   SMOOTH ANIMATIONS
   ============================================ */

/* Bounce Animation */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade In Up */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Zoom In */
@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Pulse Animation */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Wave Animation */
@keyframes wave {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(5deg);
    }
    75% {
        transform: rotate(-5deg);
    }
}

/* Slide In Left */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Slide In Right */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Rotate In */
@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-180deg) scale(0.5);
    }
    to {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

/* Shake Animation */
@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(5px);
    }
}

/* Glow Animation */
@keyframes glow {
    0%, 100% {
        box-shadow: 0 5px 15px rgba(46, 125, 50, 0.3);
    }
    50% {
        box-shadow: 0 5px 25px rgba(46, 125, 50, 0.6);
    }
}

/* Float Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ============================================
   APPLY ANIMATIONS TO ELEMENTS
   ============================================ */

/* Smooth all transitions */
* {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Header Animation */
.header {
    animation: fadeIn 0.6s ease-out;
}

/* Logo Animation */
.logo-icon {
    animation: rotateIn 0.8s ease-out;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-icon:hover {
    animation: wave 0.6s ease-in-out;
}

/* Hero Section */
.hero {
    animation: fadeInUp 0.8s ease-out;
}

.hero h1 {
    animation: bounce 1s ease-out 0.3s;
}

.hero-subtitle {
    animation: fadeIn 1s ease-out 0.5s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.hero-buttons {
    animation: fadeInUp 1s ease-out 0.7s;
    opacity: 0;
    animation-fill-mode: forwards;
}

/* Feature Cards with Staggered Animation */
.feature-card {
    animation: fadeInUp 0.6s ease-out;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:nth-child(1) {
    animation-delay: 0.1s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.feature-card:nth-child(2) {
    animation-delay: 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.feature-card:nth-child(3) {
    animation-delay: 0.3s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.feature-card:nth-child(4) {
    animation-delay: 0.4s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Feature Icon Animation */
.feature-icon {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(360deg);
    animation: pulse 1s ease-in-out infinite;
}

/* Button Animations */
.btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    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:active::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    transform: translateY(-3px) scale(1.05);
}

.btn:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-primary:hover {
    animation: glow 1.5s ease-in-out infinite;
}

/* Card Animation */
.card {
    animation: fadeIn 0.8s ease-out;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Form Input Animation */
.form-group input,
.form-group select,
.form-group textarea {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    transform: scale(1.02);
    animation: pulse 0.5s ease-out;
}

/* Nav Links Animation */
.nav-links a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.nav-links a:hover::after {
    width: 80%;
}

.nav-links a:hover {
    transform: translateY(-2px);
}

/* Table Row Animation */
tbody tr {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

tbody tr:hover {
    transform: scale(1.01);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Badge Animation */
.badge {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.badge:hover {
    transform: scale(1.1);
}

/* Stat Card Animation */
.stat-card {
    animation: slideInLeft 0.6s ease-out;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:nth-child(even) {
    animation: slideInRight 0.6s ease-out;
}

.stat-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.stat-card .stat-value {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover .stat-value {
    transform: scale(1.1);
    animation: pulse 1s ease-in-out infinite;
}

/* Alert Animation */
.alert {
    animation: slideInRight 0.5s ease-out;
}

/* Modal Animation */
.modal {
    transition: opacity 0.3s ease-out;
}

.modal-content {
    animation: zoomIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Footer Animation */
.footer {
    animation: fadeIn 1s ease-out;
}

/* Notification Animation */
.notification-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.notification-item:hover {
    transform: translateX(10px);
}

/* Loading States */
.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

/* Touch Response */
@media (hover: none) and (pointer: coarse) {
    /* Optimize for touch devices */
    .btn:active {
        transform: scale(0.95);
        transition: transform 0.1s;
    }

    .feature-card:active {
        transform: scale(0.98);
        transition: transform 0.1s;
    }

    .nav-links a:active {
        transform: scale(0.95);
        background: rgba(255,255,255,0.3);
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   SUCCESS & ERROR CELEBRATION ANIMATIONS
   ============================================ */

/* Success Pop Animation - Kitu kikipata */
@keyframes successPop {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    70% {
        transform: scale(0.95);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Bounce In Down - For success messages */
@keyframes bounceInDown {
    0% {
        opacity: 0;
        transform: translateY(-100px) scale(0.5);
    }
    60% {
        opacity: 1;
        transform: translateY(20px) scale(1.1);
    }
    80% {
        transform: translateY(-10px) scale(0.95);
    }
    100% {
        transform: translateY(0) scale(1);
    }
}

/* Shake Error Animation - Pale hakipatikani */
@keyframes shakeError {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-10px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(10px);
    }
}

/* Tada Animation - Celebration */
@keyframes tada {
    0% {
        transform: scale(1) rotate(0deg);
    }
    10%, 20% {
        transform: scale(0.9) rotate(-3deg);
    }
    30%, 50%, 70%, 90% {
        transform: scale(1.1) rotate(3deg);
    }
    40%, 60%, 80% {
        transform: scale(1.1) rotate(-3deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}

/* Rubber Band - Elastic effect */
@keyframes rubberBand {
    0% {
        transform: scale(1);
    }
    30% {
        transform: scaleX(1.25) scaleY(0.75);
    }
    40% {
        transform: scaleX(0.75) scaleY(1.25);
    }
    50% {
        transform: scaleX(1.15) scaleY(0.85);
    }
    65% {
        transform: scaleX(0.95) scaleY(1.05);
    }
    75% {
        transform: scaleX(1.05) scaleY(0.95);
    }
    100% {
        transform: scale(1);
    }
}

/* Jello Animation */
@keyframes jello {
    0%, 100% {
        transform: skewX(0deg) skewY(0deg);
    }
    30% {
        transform: skewX(25deg) skewY(25deg);
    }
    40% {
        transform: skewX(-20deg) skewY(-20deg);
    }
    50% {
        transform: skewX(15deg) skewY(15deg);
    }
    65% {
        transform: skewX(-10deg) skewY(-10deg);
    }
    75% {
        transform: skewX(5deg) skewY(5deg);
    }
}

/* Heartbeat Animation */
@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    10% {
        transform: scale(1.2);
    }
    20% {
        transform: scale(1);
    }
    30% {
        transform: scale(1.2);
    }
    40% {
        transform: scale(1);
    }
}

/* Confetti Animation */
@keyframes confetti-fall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Flash Animation - Quick attention grab */
@keyframes flash {
    0%, 50%, 100% {
        opacity: 1;
    }
    25%, 75% {
        opacity: 0.3;
    }
}

/* Swing Animation */
@keyframes swing {
    20% {
        transform: rotate(15deg);
    }
    40% {
        transform: rotate(-10deg);
    }
    60% {
        transform: rotate(5deg);
    }
    80% {
        transform: rotate(-5deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

/* ============================================
   APPLY SUCCESS/ERROR ANIMATIONS
   ============================================ */

/* Success Alert Animation */
.alert-success {
    animation: bounceInDown 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.alert-success:hover {
    animation: tada 0.8s ease-in-out;
}

/* Error Alert Animation */
.alert-error {
    animation: shakeError 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.alert-error:hover {
    animation: shakeError 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Success Badge */
.badge-success {
    animation: successPop 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.badge-success:hover {
    animation: heartbeat 0.8s ease-in-out;
}

/* Warning Alert */
.alert-warning {
    animation: swing 0.6s ease-in-out;
}

/* Success State for Forms */
.form-success {
    animation: successPop 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-success input,
.form-success select,
.form-success textarea {
    border-color: var(--success) !important;
    animation: pulse 0.5s ease-out;
}

/* Error State for Forms */
.form-error {
    animation: shakeError 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-error input,
.form-error select,
.form-error textarea {
    border-color: var(--danger) !important;
    animation: shakeError 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Success Button Click */
.btn-success:active {
    animation: rubberBand 0.6s ease;
}

/* Danger Button Click */
.btn-danger:active {
    animation: shakeError 0.3s ease;
}

/* Celebration Class - For major success */
.celebrate {
    animation: tada 1s ease-in-out;
}

/* Flash Attention */
.flash-attention {
    animation: flash 1s ease-in-out;
}

/* Status Changes Animation */
.status-approved {
    animation: successPop 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.status-approved::after {
    content: '✓';
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--success);
    font-size: 1.5rem;
    animation: successPop 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.status-rejected {
    animation: shakeError 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Loading to Success Transition */
.loading-success {
    animation: pulse 0.5s ease-in-out, successPop 0.6s 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Search Result Found Animation */
.result-found {
    animation: bounceInDown 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.result-found:hover {
    animation: float 2s ease-in-out infinite;
}

/* No Results Found */
.no-results {
    animation: shakeError 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.7;
}

/* Confetti Container */
.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--primary-green);
    animation: confetti-fall 3s linear forwards;
}

.confetti:nth-child(2n) {
    background: var(--gold);
    animation-duration: 3.5s;
}

.confetti:nth-child(3n) {
    background: var(--light-green);
    animation-duration: 2.5s;
}

.confetti:nth-child(4n) {
    width: 8px;
    height: 8px;
    animation-duration: 4s;
}

/* Success Glow Effect */
.success-glow {
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.6);
    animation: glow 1.5s ease-in-out infinite;
}

/* Error Glow Effect */
.error-glow {
    box-shadow: 0 0 20px rgba(244, 67, 54, 0.6);
    animation: flash 1s ease-in-out;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.modal-content {
    background: var(--white);
    margin: 5% auto;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.3);
}

.close {
    color: var(--gray);
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: var(--dark);
}
