/* Modern Professional CSS untuk Sistem Laporan Pelanggaran - Emerald Theme */

:root {
    --primary-color: #059669;
    --primary-dark: #047857;
    --primary-light: #10b981;
    --primary-lighter: #d1fae5;
    --secondary-color: #64748b;
    --success-color: #059669;
    --danger-color: #dc2626;
    --warning-color: #d97706;
    --info-color: #0891b2;
    --light-color: #f0fdf4;
    --dark-color: #064e3b;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    --emerald-50: #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-200: #a7f3d0;
    --emerald-300: #6ee7b7;
    --emerald-400: #34d399;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --emerald-800: #065f46;
    --emerald-900: #064e3b;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-emerald: 0 10px 15px -3px rgb(5 150 105 / 0.1), 0 4px 6px -4px rgb(5 150 105 / 0.1);
    
    --border-radius: 0.75rem;
    --border-radius-lg: 1rem;
    --border-radius-xl: 1.5rem;
}

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background: linear-gradient(135deg, var(--emerald-50) 0%, #f0fdf4 50%, var(--emerald-100) 100%);
    min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.25;
    color: var(--emerald-900);
    margin-bottom: 1rem;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.875rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--gray-700);
}

/* Layout */
.main-content {
    min-height: calc(100vh - 80px);
    padding: 2rem 0;
}

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

/* Landing Page Layout - Enhanced */
.landing-container {
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    height: 100vh;
}

.left-panel {
    background: linear-gradient(-45deg, #065f46, #064e3b, #047857, #059669);
    background-size: 400% 400%;
    animation: gradientShift 8s ease-in-out infinite;
    color: white;
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    flex: 1;
    will-change: background-position;
    transform: translateZ(0);
    min-height: 100vh;
}

.left-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.2) 0%, transparent 50%);
    animation: morphingGradient 12s ease-in-out infinite;
    will-change: background;
    transform: translateZ(0);
}

.left-panel::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(1px 1px at 20px 30px, rgba(255,255,255,0.2), transparent),
        radial-gradient(1px 1px at 40px 70px, rgba(255,255,255,0.15), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255,255,255,0.25), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255,255,255,0.2), transparent),
        radial-gradient(1px 1px at 160px 30px, rgba(255,255,255,0.15), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: floatingParticles 15s ease-in-out infinite;
    will-change: transform;
    transform: translateZ(0);
}

.right-panel {
    background: white;
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;

    flex: 1;
    min-height: 100vh;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.report-btn {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
    position: relative;
    z-index: 1;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.report-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
    color: white;
}

.footer-text {
    margin-top: 2rem;
    font-size: 0.9rem;
    opacity: 0.8;
    text-align: left;
    position: relative;
    z-index: 1;
}

.regulations-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #064e3b;
}

.regulations-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #374151;
}

.read-regulations-btn {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;

    text-decoration: none;
}

.read-regulations-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.4);
    color: white;
}

/* Updates Section */
.updates-section {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-top: 2rem;
    border: 1px solid rgba(5, 150, 105, 0.1);
    max-height: 450px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) transparent;
}

.updates-section::-webkit-scrollbar {
    width: 6px;
}

.updates-section::-webkit-scrollbar-track {
    background: transparent;
}

.updates-section::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.updates-section::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

.updates-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--emerald-700);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.update-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(5, 150, 105, 0.1);
    transition: all 0.3s ease;
    gap: 2rem; /* Increased gap for desktop */
}

.update-item:last-child {
    border-bottom: none;
}

.update-item:hover {
    background: rgba(5, 150, 105, 0.05);
    border-radius: 8px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    margin-left: -0.5rem;
    margin-right: -0.5rem;
}

.update-date-time {
    text-align: right;
    min-width: 140px; /* Increased min-width for better spacing */
    flex-shrink: 0;
    padding-right: 1rem; /* Additional padding for separation */
    border-right: 2px solid rgba(5, 150, 105, 0.1); /* Visual separator */
}

.update-date {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--emerald-600);
    line-height: 1.2;
    margin-bottom: 0.25rem; /* Space between date and time */
}

.update-time {
    font-size: 0.75rem;
    color: var(--emerald-500);
    font-weight: 400;
    display: block;
}

.update-text {
    flex: 1;
    font-size: 0.9rem;
    color: var(--gray-700);
    line-height: 1.4;
    padding-left: 1rem; /* Additional padding for separation */
}

/* Company Section Enhanced */
.company-section {
    background: #ecfdf5;
    padding: 3rem 0;
    margin-top: 2rem;
}

.company-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.company-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.company-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #059669, #047857, #065f46);
}

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

.company-card h4 {
    color: #064e3b;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.company-card p {
    color: #374151;
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Landing Page Animations */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 50% 25%;
    }
    50% {
        background-position: 100% 50%;
    }
    75% {
        background-position: 50% 75%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes morphingGradient {
    0% {
        background: radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.15) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.15) 0%, transparent 50%),
                    radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.15) 0%, transparent 50%);
    }
    33% {
        background: radial-gradient(circle at 60% 60%, rgba(120, 119, 198, 0.15) 0%, transparent 50%),
                    radial-gradient(circle at 40% 40%, rgba(255, 119, 198, 0.15) 0%, transparent 50%),
                    radial-gradient(circle at 80% 80%, rgba(120, 219, 255, 0.15) 0%, transparent 50%);
    }
    66% {
        background: radial-gradient(circle at 80% 40%, rgba(120, 119, 198, 0.15) 0%, transparent 50%),
                    radial-gradient(circle at 20% 60%, rgba(255, 119, 198, 0.15) 0%, transparent 50%),
                    radial-gradient(circle at 60% 20%, rgba(120, 219, 255, 0.15) 0%, transparent 50%);
    }
    100% {
        background: radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.15) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.15) 0%, transparent 50%),
                    radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.15) 0%, transparent 50%);
    }
}

@keyframes floatingParticles {
    0% {
        transform: translateY(0px) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-50px) scale(1.1);
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0.8;
    }
}

/* Landing Page Responsive Design */
@media (max-width: 768px) {
    .landing-container {
        flex-direction: column;
        min-height: 100vh;
        height: auto;
    }
    
    .left-panel, .right-panel {
        padding: 2rem 1.5rem;
        min-height: 100vh;
        height: 100vh;
        flex: none;
        width: 100%;
    }
    
    .hero-title, .regulations-title {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .hero-description, .regulations-description {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .report-btn, .read-regulations-btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
        width: 100%;
        text-align: center;
    }
    
    .update-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .update-text {
        text-align: left;
        max-width: 100%;
    }
    
    .updates-section {
        padding: 1rem;
    }
    
    .updates-title {
        font-size: 1.1rem;
    }
    
    .update-date {
        font-size: 0.85rem;
    }
    
    .update-text {
        font-size: 0.85rem;
    }
    
    .footer-text {
        font-size: 0.85rem;
        margin-top: 1.5rem;
    }
    
    /* Company Section Responsive */
    .company-section {
        padding: 2rem 0;
    }
    
    .company-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .company-card {
        padding: 1.5rem 1rem;
    }
    
    .company-card h4 {
        font-size: 1.1rem;
    }
    
    .company-card p {
        font-size: 0.9rem;
    }
    
    .company-card i {
        font-size: 2.25rem !important;
    }
}

@media (max-width: 576px) {
    .left-panel, .right-panel {
        padding: 1.5rem 1rem;
        min-height: 100vh;
        height: 100vh;
    }
    
    .hero-title, .regulations-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-description, .regulations-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .report-btn, .read-regulations-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .updates-section {
        padding: 0.75rem;
    }
    
    .updates-title {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .update-item {
        padding: 0.5rem 0;
    }
    
    .update-date {
        font-size: 0.8rem;
    }
    
    .update-text {
        font-size: 0.8rem;
    }
    
    .footer-text {
        font-size: 0.8rem;
        margin-top: 1rem;
    }
    
    /* Company Section Responsive */
    .company-section {
        padding: 1.5rem 0;
    }
    
    .company-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 0.75rem;
    }
    
    .company-card {
        padding: 1.25rem 1rem;
    }
    
    .company-card h4 {
        font-size: 1rem;
    }
    
    .company-card p {
        font-size: 0.85rem;
    }
    
    .company-card i {
        font-size: 2rem !important;
    }
}

/* Landscape orientation for mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .landing-container {
        min-height: 100vh;
    }
    
    .left-panel, .right-panel {
        padding: 1rem 1.5rem;
        min-height: 100vh;
        height: 100vh;
    }
    
    .hero-title, .regulations-title {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-description, .regulations-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .report-btn, .read-regulations-btn {
        padding: 0.5rem 1.25rem;
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }
    
    .footer-text {
        margin-top: 0.75rem;
        font-size: 0.75rem;
    }
    
    .company-section {
        padding: 1rem 0;
    }
    
    .company-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }
    
    .company-card {
        padding: 1rem 0.75rem;
    }
    
    .company-card h4 {
        font-size: 0.9rem;
    }
    
    .company-card p {
        font-size: 0.75rem;
    }
    
    .company-card i {
        font-size: 1.5rem !important;
    }
}

@media (max-width: 480px) {
    .left-panel, .right-panel {
        padding: 1rem 0.75rem;
        min-height: 100vh;
        height: 100vh;
    }
    
    .hero-title, .regulations-title {
        font-size: 1.25rem;
    }
    
    .hero-description, .regulations-description {
        font-size: 0.9rem;
    }
    
    .report-btn, .read-regulations-btn {
        padding: 0.625rem 1rem;
        font-size: 0.85rem;
    }
    
    .updates-section {
        padding: 0.5rem;
    }
    
    .updates-title {
        font-size: 0.95rem;
    }
    
    .update-date {
        font-size: 0.75rem;
    }
    
    .update-text {
        font-size: 0.75rem;
    }
    
    /* Company Section Responsive */
    .company-section {
        padding: 2rem 0;
    }
    
    .company-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .company-card {
        padding: 1.5rem 1rem;
    }
    
    .company-card h4 {
        font-size: 1rem;
    }
    
    .company-card p {
        font-size: 0.85rem;
    }
    
    .company-card i {
        font-size: 2rem !important;
    }
}

/* Ensure proper viewport and responsive behavior */
* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    min-height: 100vh;
}

/* Ensure images and videos are responsive */
img, video {
    max-width: 100%;
    height: auto;
}

/* Ensure text doesn't overflow */
p, h1, h2, h3, h4, h5, h6 {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Ensure buttons and interactive elements are touch-friendly */
button, .btn, a {
    min-height: 44px;
    min-width: 44px;
}

@media (max-width: 768px) {
    /* Ensure proper touch targets */
    .report-btn, .read-regulations-btn {
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Ensure proper spacing for mobile */
    .landing-container > * {
        margin: 0;
    }
    
    /* Ensure full height on mobile */
    html, body {
        height: 100%;
        min-height: 100vh;
    }
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, var(--emerald-600) 0%, var(--emerald-700) 100%);
    box-shadow: var(--shadow-emerald);
    border: none;
    padding: 1rem 0;
    position: relative;
    overflow: hidden;
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: white !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}

.navbar-brand:hover {
    color: var(--emerald-100) !important;
    transform: translateY(-1px);
    transition: all 0.3s ease;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9) !important;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    margin: 0 0.25rem;
    position: relative;
    z-index: 1;
}

.navbar-nav .nav-link:hover {
    color: white !important;
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Cards */
.card {
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    background: white;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--emerald-500), var(--emerald-600), var(--emerald-700));
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.card-header {
    background: linear-gradient(135deg, var(--emerald-600) 0%, var(--emerald-700) 100%);
    color: white;
    border: none;
    padding: 1.5rem;
    font-weight: 600;
    position: relative;
}

.card-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.card-header h2,
.card-header h3,
.card-header h4,
.card-header h5 {
    margin: 0;
    color: white;
}

.card-body {
    padding: 2rem;
}

/* Buttons */
.btn {
    border-radius: var(--border-radius);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary {
    background: linear-gradient(135deg, var(--emerald-600) 0%, var(--emerald-700) 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--emerald-700) 0%, var(--emerald-800) 100%);
    color: white;
}

.btn-success {
    background: linear-gradient(135deg, var(--emerald-600) 0%, var(--emerald-700) 100%);
    color: white;
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger-color) 0%, #b91c1c 100%);
    color: white;
}

.btn-outline-secondary {
    border: 2px solid var(--gray-300);
    color: rgb(43, 43, 43);
    background: white;
}

.btn-outline-secondary:hover {
    border-color: var(--emerald-400);
    background: var(--emerald-50);
    color: var(--emerald-700);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Forms */
.form-control,
.form-select {
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius);
    padding: 0.875rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--emerald-500);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
    outline: none;
}

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

.form-text {
    color: var(--gray-500);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* File Upload */
.upload-area {
    border: 2px dashed var(--emerald-300);
    border-radius: var(--border-radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    background: var(--emerald-50);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.upload-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(16, 185, 129, 0.05) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.upload-area:hover::before {
    opacity: 1;
}

.upload-area:hover {
    border-color: var(--emerald-500);
    background: var(--emerald-100);
    transform: scale(1.02);
}

.upload-area.dragover {
    border-color: var(--emerald-600);
    background: var(--emerald-200);
    transform: scale(1.02);
}

/* Tables */
.table {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: white;
}

.table thead th {
    background: linear-gradient(135deg, var(--emerald-600) 0%, var(--emerald-700) 100%);
    color: white;
    font-weight: 600;
    border: none;
    padding: 1rem;
}

.table tbody tr {
    transition: all 0.3s ease;
}

.table tbody tr:hover {
    background-color: var(--emerald-50);
    transform: scale(1.01);
}

/* Alerts */
.alert {
    border: none;
    border-radius: var(--border-radius);
    padding: 1rem 1.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.alert::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
}

.alert-success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
    color: var(--emerald-700);
}

.alert-success::before {
    background: var(--emerald-600);
}

.alert-danger {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, rgba(220, 38, 38, 0.05) 100%);
    color: var(--danger-color);
}

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

.alert-info {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
    color: var(--emerald-700);
}

.alert-info::before {
    background: var(--emerald-600);
}

.alert-warning {
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.1) 0%, rgba(217, 119, 6, 0.05) 100%);
    color: var(--warning-color);
}

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

/* Rules List */
.rules-list {
    padding: 0;
    list-style: none;
}

.rules-item {
    background: white;
    margin-bottom: 2rem;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
}

.rules-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--emerald-500), var(--emerald-600), var(--emerald-700));
}

.rules-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-xl);
}

.rules-header {
    background: linear-gradient(135deg, var(--emerald-600) 0%, var(--emerald-700) 100%);
    color: white;
    padding: 1.5rem;
    font-weight: 600;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
}

.rules-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.rules-content {
    padding: 2rem;
    line-height: 1.7;
}

.rule-section {
    margin-bottom: 1.5rem;
}

.rule-section h5,
.rule-section h6 {
    color: var(--emerald-700);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.rule-section ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.rule-section li {
    margin-bottom: 0.5rem;
    color: #212529;
}

/* Dashboard Stats */
.stat-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: var(--border-radius-lg);
    background: white;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--emerald-500), var(--emerald-600), var(--emerald-700));
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--emerald-600);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--gray-600);
    font-weight: 500;
}

/* Login Form */
.login-container {
    max-width: 450px;
    margin: 0 auto;
    padding: 2rem;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header h2 {
    color: var(--emerald-700);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Photo Preview */
.photo-preview {
    max-width: 250px;
    max-height: 250px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    object-fit: cover;
}

/* Captcha */
.captcha-container {
    background: var(--emerald-50);
    border: 2px solid var(--emerald-200);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--emerald-700);
    font-family: 'Courier New', monospace;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--emerald-800) 0%, var(--emerald-900) 100%);
    color: white;
    padding: 3rem 0 2rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--emerald-400), transparent);
}

footer h5 {
    color: var(--emerald-300);
    margin-bottom: 1rem;
}

footer p {
    color: var(--gray-300);
    margin-bottom: 0.5rem;
}

footer small {
    color: var(--gray-400);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

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

.slide-in {
    animation: slideIn 0.6s ease-out;
}

@keyframes slideIn {
    from { 
        opacity: 0; 
        transform: translateX(-40px); 
    }
    to { 
        opacity: 1; 
        transform: translateX(0); 
    }
}

/* Company Branding */
.company-info {
    background: linear-gradient(135deg, var(--emerald-600) 0%, var(--emerald-700) 100%);
    color: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.company-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    animation: shimmer 4s infinite;
}

.company-info h3 {
    color: white;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.company-info p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.company-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.company-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.company-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--emerald-500), var(--emerald-600), var(--emerald-700));
}

.company-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.company-card h4 {
    color: var(--emerald-700);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.company-card p {
    color: var(--gray-600);
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .landing-container {
        flex-direction: column;
    }
    
    .left-panel, .right-panel {
        padding: 2rem 1.5rem;
    }
    
    .hero-title, .regulations-title {
        font-size: 2rem;
    }
    
    .update-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .update-text {
        text-align: left;
        max-width: 100%;
    }
    
    .company-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .main-content {
        padding: 1rem 0;
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .btn-lg {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .upload-area {
        padding: 2rem 1rem;
    }
    
    .rules-header {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .rules-content {
        padding: 1.5rem;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    h1 { font-size: 1.875rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
}

@media (max-width: 576px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .stat-card {
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --light-color: #064e3b;
        --dark-color: #f0fdf4;
        --gray-50: #065f46;
        --gray-100: #047857;
        --gray-200: #059669;
        --gray-300: #10b981;
        --gray-400: #34d399;
        --gray-500: #6ee7b7;
        --gray-600: #a7f3d0;
        --gray-700: #d1fae5;
        --gray-800: #ecfdf5;
        --gray-900: #ffffff;
    }
    
    body {
        background: linear-gradient(135deg, #064e3b 0%, #065f46 100%);
        color: var(--gray-200);
    }
    
    .card {
        background: var(--gray-800);
        color: var(--gray-200);
    }
    
    .form-control,
    .form-select {
        background: var(--gray-700);
        color: var(--gray-200);
        border-color: var(--gray-600);
    }
} 

/* Report Page Styles */
.report-container {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--emerald-50) 0%, #f0fdf4 50%, var(--emerald-100) 100%);
    padding: 2rem 0;
}

.report-header {
    background: linear-gradient(135deg, var(--emerald-600) 0%, var(--emerald-700) 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.report-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    animation: shimmer 4s infinite;
}

.report-header h2 {
    color: white;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.report-header p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.report-header .btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    display: inline-block;
}

.report-header .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.report-form-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
}

.report-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--emerald-500), var(--emerald-600), var(--emerald-700));
}

.report-form-card .card-header {
    background: linear-gradient(135deg, var(--emerald-600) 0%, var(--emerald-700) 100%);
    color: white;
    border: none;
    padding: 2rem;
    text-align: center;
}

.report-form-card .card-header h2 {
    color: white;
    margin-bottom: 0.5rem;
}

.report-form-card .card-header p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

.report-form-card .card-body {
    padding: 2.5rem;
}

/* Form styling for single card */
.report-form-card .form-label {
    font-weight: 600;
    color: var(--emerald-800);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.report-form-card .form-control {
    border: 2px solid var(--emerald-200);
    border-radius: var(--border-radius);
    padding: 0.875rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.report-form-card .form-control:focus {
    border-color: var(--emerald-500);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
    outline: none;
}

.report-form-card .form-text {
    color: #c9a000;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.upload-area {
    border: 2px dashed var(--emerald-300);
    border-radius: var(--border-radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    background: var(--emerald-50);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.upload-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(16, 185, 129, 0.05) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.upload-area:hover::before {
    opacity: 1;
}

.upload-area:hover {
    border-color: var(--emerald-500);
    background: var(--emerald-100);
    transform: scale(1.02);
}

.upload-area.dragover {
    border-color: var(--emerald-600);
    background: var(--emerald-200);
    transform: scale(1.02);
}

.upload-area i {
    font-size: 3rem;
    color: var(--emerald-600);
    margin-bottom: 1rem;
}

.upload-area p {
    font-weight: 600;
    color: var(--emerald-700);
    margin-bottom: 0.5rem;
}

.upload-area small {
    color: var(--gray-500);
}

.captcha-section {
    background: var(--emerald-50);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    border: 2px solid var(--emerald-200);
}

.captcha-container {
    background: white;
    border: 2px solid var(--emerald-200);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--emerald-700);
    font-family: 'Courier New', monospace;
}

.captcha-refresh-btn {
    background: linear-gradient(135deg, var(--emerald-600) 0%, var(--emerald-700) 100%);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.captcha-refresh-btn:hover {
    background: linear-gradient(135deg, var(--emerald-700) 0%, var(--emerald-800) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.form-check-input:checked {
    background-color: var(--emerald-600);
    border-color: var(--emerald-600);
}

.form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.submit-section {
    background: linear-gradient(135deg, var(--emerald-600) 0%, var(--emerald-700) 100%);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    color: white;
    margin-top: 2rem;
}

.submit-btn {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
    width: 100%;
    margin-bottom: 1rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
    color: white;
}

.privacy-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    margin-top: 2rem;
}

.privacy-card .card-header {
    background: linear-gradient(135deg, var(--emerald-600) 0%, var(--emerald-700) 100%);
    color: white;
    border: none;
    padding: 1.5rem;
}

.privacy-card .card-body {
    padding: 2rem;
}

.company-footer {
    background: var(--emerald-50);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    margin-top: 2rem;
}

.company-footer h6 {
    color: var(--emerald-700);
    margin-bottom: 1rem;
}

.company-footer p {
    color: var(--gray-600);
    margin-bottom: 0;
}

/* Report Page Responsive */
@media (max-width: 768px) {
    .report-container {
        padding: 1rem 0;
    }
    
    .report-header {
        padding: 2rem 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .report-header .d-flex {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .report-header h2 {
        font-size: 1.75rem;
    }
    
    .report-header .btn-outline-light {
        align-self: center;
        width: 100%;
        max-width: 300px;
    }
    
    .report-form-card .card-body {
        padding: 1.5rem;
    }
    
    .report-form-card .form-label {
        font-size: 0.95rem;
    }
    
    .report-form-card .form-control {
        font-size: 0.95rem;
    }
    
    .report-form-card .form-text {
        font-size: 0.8rem;
    }
    
    .upload-area {
        padding: 2rem 1rem;
    }
    
    .upload-area i {
        font-size: 2.5rem;
    }
    
    .captcha-section {
        padding: 1rem;
    }
    
    .captcha-container {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .submit-section {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .submit-btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .privacy-card .card-body {
        padding: 1.5rem;
    }
    
    .company-footer {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .report-header {
        padding: 1.5rem 1rem;
    }
    
    .report-header .d-flex {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .report-header h2 {
        font-size: 1.5rem;
    }
    
    .report-header .btn-outline-light {
        align-self: center;
        width: 100%;
        max-width: 250px;
        padding: 0.625rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .report-form-card .card-body {
        padding: 1rem;
    }
    
    .report-form-card .form-label {
        font-size: 0.9rem;
    }
    
    .report-form-card .form-control {
        font-size: 0.9rem;
    }
    
    .report-form-card .form-text {
        font-size: 0.75rem;
    }
    
    .upload-area {
        padding: 1.5rem 0.75rem;
    }
    
    .upload-area i {
        font-size: 2rem;
    }
    
    .upload-area p {
        font-size: 0.9rem;
    }
    
    .captcha-section {
        padding: 0.75rem;
    }
    
    .captcha-container {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .submit-section {
        padding: 1rem;
        margin-top: 1rem;
    }
    
    .submit-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .privacy-card .card-body {
        padding: 1rem;
    }
    
    .company-footer {
        padding: 1rem;
    }
} 

/* Success Page Styles */
.success-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
}

.success-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--emerald-500), var(--emerald-600), var(--emerald-700));
}

.success-header {
    background: linear-gradient(135deg, var(--emerald-600) 0%, var(--emerald-700) 100%);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.success-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    animation: shimmer 4s infinite;
}

.success-icon {
    font-size: 4rem;
    color: var(--emerald-300);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    animation: bounce 2s ease-in-out infinite;
}

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

.success-header h2 {
    color: white;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.success-header p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
}

.success-body {
    padding: 2.5rem;
}

.info-section {
    background: var(--emerald-50);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-left: 4px solid var(--emerald-500);
}

.info-section h4 {
    color: var(--emerald-700);
    margin-bottom: 1rem;
    font-weight: 600;
}

.info-section ul {
    margin-bottom: 0;
    padding-left: 1.5rem;
}

.info-section li {
    color: var(--emerald-800);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.info-section li:last-child {
    margin-bottom: 0;
}

.contact-section {
    margin-bottom: 2rem;
}

.contact-section h4 {
    color: var(--emerald-700);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.contact-item {
    background: white;
    border: 2px solid var(--emerald-200);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--emerald-500), var(--emerald-600), var(--emerald-700));
}

.contact-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--emerald-400);
}

.contact-icon {
    font-size: 2rem;
    color: var(--emerald-600);
    margin-bottom: 1rem;
}

.contact-info h5 {
    color: var(--emerald-700);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-info p {
    color: var(--emerald-800);
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.contact-info small {
    color: var(--gray-600);
}

.action-section {
    text-align: center;
    padding-top: 1rem;
    border-top: 2px solid var(--emerald-100);
}

.btn-primary {
    background: linear-gradient(135deg, var(--emerald-600) 0%, var(--emerald-700) 100%);
    border: none;
    color: white;
    padding: 0.875rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--emerald-700) 0%, var(--emerald-800) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-outline-primary {
    border: 2px solid var(--emerald-600);
    color: var(--emerald-700);
    background: white;
    padding: 0.875rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--emerald-600);
    border-color: var(--emerald-600);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
} 

/* Success Page Responsive */
@media (max-width: 768px) {
    .success-header {
        padding: 2rem 1.5rem;
    }
    
    .success-icon {
        font-size: 3rem;
    }
    
    .success-header h2 {
        font-size: 1.75rem;
    }
    
    .success-header p {
        font-size: 1rem;
    }
    
    .success-body {
        padding: 1.5rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-item {
        padding: 1.25rem;
    }
    
    .action-section {
        text-align: center;
    }
    
    .action-section .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
        margin-left: 0;
        margin-right: 0;
    }
    
    .action-section .btn:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 576px) {
    .success-header {
        padding: 1.5rem 1rem;
    }
    
    .success-icon {
        font-size: 2.5rem;
    }
    
    .success-header h2 {
        font-size: 1.5rem;
    }
    
    .success-header p {
        font-size: 0.9rem;
    }
    
    .success-body {
        padding: 1rem;
    }
    
    .info-section {
        padding: 1rem;
    }
    
    .contact-item {
        padding: 1rem;
    }
    
    .contact-icon {
        font-size: 1.5rem;
    }
    
    .contact-info h5 {
        font-size: 1rem;
    }
    
    .contact-info p {
        font-size: 0.9rem;
    }
    
    .contact-info small {
        font-size: 0.8rem;
    }
    
    .action-section .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
} 

/* Photo Gallery Styles */
.photo-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.photo-link {
    display: inline-block;
    transition: transform 0.3s ease;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.photo-link:hover {
    transform: scale(1.05);
}

.photo-link img {
    border: 2px solid var(--emerald-200);
    transition: border-color 0.3s ease;
}

.photo-link:hover img {
    border-color: var(--emerald-500);
} 

/* Photo Gallery Responsive */
@media (max-width: 768px) {
    .photo-gallery {
        gap: 0.25rem;
    }
    
    .photo-link img {
        width: 40px !important;
        height: 40px !important;
    }
}

@media (max-width: 576px) {
    .photo-gallery {
        justify-content: center;
    }
    
    .photo-link img {
        width: 35px !important;
        height: 35px !important;
    }
} 

/* Photo Preview Styles - Simplified and Responsive */
#image-preview {
    margin-top: 1rem;
}

#image-preview .photo-preview-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#image-preview .photo-preview-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

#image-preview .photo-preview-img {
    transition: transform 0.2s ease;
}

#image-preview .photo-preview-container:hover .photo-preview-img {
    transform: scale(1.05);
}

/* Improved Close Button */
#image-preview .btn-close-photo {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(220, 38, 38, 0.95);
    border: 2px solid #ffffff;
    color: #ffffff;
    font-size: 10px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
    z-index: 10;
    cursor: pointer;
}

#image-preview .btn-close-photo:hover {
    background-color: #dc2626;
    transform: scale(1.1);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

#image-preview .btn-close-photo:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.3);
}

#image-preview .btn-close-photo i {
    line-height: 1;
    font-weight: bold;
}

#image-preview small {
    font-size: 0.75rem;
    color: #6b7280;
    padding: 0.25rem;
    background-color: #f9fafb;
    border-radius: 4px;
    margin-top: 0.25rem;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Selected Files Section */
#selected-files .alert {
    border-radius: 8px;
    border: 1px solid #d1fae5;
    background-color: #f0fdf4;
}

#selected-files .alert-info {
    background-color: #eff6ff;
    border-color: #bfdbfe;
    color: #1e40af;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #image-preview .col-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    
    #image-preview .col-sm-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (max-width: 576px) {
    #image-preview .col-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    #image-preview img {
        height: 70px !important;
    }
    
    #image-preview .btn-close-photo {
        width: 20px !important;
        height: 20px !important;
        font-size: 8px !important;
    }
    
    #image-preview small {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    #image-preview .col-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    #image-preview img {
        height: 60px !important;
    }
    
    #image-preview .btn-close-photo {
        width: 18px !important;
        height: 18px !important;
        font-size: 7px !important;
    }
} 

/* Updates Section Responsive */
@media (max-width: 768px) {
    .update-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .update-date-time {
        text-align: left;
        min-width: auto;
        display: flex;
        gap: 1rem;
        align-items: center;
        padding-right: 0; /* Remove desktop padding */
        border-right: none; /* Remove desktop border */
        border-bottom: 1px solid rgba(5, 150, 105, 0.1); /* Add bottom border for mobile */
        padding-bottom: 0.5rem;
        margin-bottom: 0.5rem;
    }
    
    .update-time {
        margin-top: 0;
        padding-left: 0.5rem;
        border-left: 1px solid var(--emerald-300);
        display: inline; /* Change to inline for mobile */
    }
    
    .update-text {
        margin-right: 0;
        width: 100%;
        padding-left: 0; /* Remove desktop padding */
    }
}

@media (max-width: 576px) {
    .updates-section {
        padding: 1rem;
        margin-top: 1.5rem;
    }
    
    .updates-title {
        font-size: 1rem;
    }
    
    .update-item {
        padding: 0.5rem 0;
    }
    
    .update-date-time {
        flex-direction: column;
        gap: 0.25rem;
        align-items: flex-start;
    }
    
    .update-time {
        padding-left: 0;
        border-left: none;
    }
} 

/* Creator Info */
.creator-info {
    bottom: 2rem;
    left: 2rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.creator-info:hover {
    color: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
}

/* Creator Info Responsive */
@media (max-width: 768px) {
    .creator-info {
        bottom: 1.5rem;
        left: 1.5rem;
        font-size: 0.7rem;
    }
}

@media (max-width: 576px) {
    .creator-info {
        bottom: 1rem;
        left: 1rem;
        font-size: 0.65rem;
        letter-spacing: 0.3px;
    }
}

@media (max-width: 480px) {
    .creator-info {
        bottom: 0.75rem;
        left: 0.75rem;
        font-size: 0.6rem;
    }
}

/* Floating Chat Styles */
.floating-chat {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chat-bubble {
    background: #c6ffcf;
    color: #333;
    padding: 12px 16px;
    border-radius: 18px;
    max-width: 200px;
    position: relative;
    box-shadow: 0 4px 12px rgba(198, 255, 207, 0.3);
    animation: slideInRight 0.3s ease-out;
}

.chat-bubble:nth-child(2) {
    animation-delay: 0.1s;
}

.chat-content {
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
    margin-right: 8px;
}

.chat-time {
    font-size: 11px;
    opacity: 0.7;
    display: inline-block;
    margin-right: 20px;
}

.chat-status {
    position: absolute;
    bottom: 8px;
    right: 12px;
    font-size: 12px;
    opacity: 0.9;
}

.chat-status i {
    color: #333;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive adjustments for floating chat */
@media (max-width: 768px) {
    .floating-chat {
        bottom: 20px;
        right: 20px;
    }
    
    .chat-bubble {
        padding: 10px 14px;
        max-width: 180px;
    }
}

@media (max-width: 576px) {
    .floating-chat {
        bottom: 15px;
        right: 15px;
    }
    
    .chat-bubble {
        padding: 8px 12px;
        max-width: 160px;
    }
    
    .chat-content {
        font-size: 13px;
    }
    
    .chat-time {
        font-size: 10px;
    }
}

/* Footer Styles */
.main-footer {
    text-align: center;
    padding: 20px 0;
    background: rgb(255 255 255 / 0%);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(5, 150, 105, 0.1);

}

.creator-info {
    font-size: 11px;
    color: var(--gray-500);
    font-weight: 400;
    letter-spacing: 0.5px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.creator-info:hover {
    opacity: 1;
    color: var(--gray-600);
}

/* Responsive adjustments for footer */
@media (max-width: 768px) {
    .main-footer {
        padding: 15px 0;
        margin-top: 30px;
    }
    
    .creator-info {
        font-size: 10px;
    }
}

@media (max-width: 576px) {
    .main-footer {
        padding: 12px 0;
        margin-top: 25px;
    }
    
    .creator-info {
        font-size: 9px;
        letter-spacing: 0.3px;
    }
}

@media (max-width: 480px) {
    .main-footer {
        padding: 10px 0;
        margin-top: 20px;
    }
    
    .creator-info {
        font-size: 8px;
        letter-spacing: 0.2px;
    }
}