/* 
 * Main Stylesheet
 * Aitegel - Task-Based Earning Platform
 */

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
    --light-color: #f8f9fa;
    --dark-color: #212529;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #7e22ce 100%);
    min-height: 500px;
}

.bg-gradient {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #7e22ce 100%);
}

.hero-section h1,
.hero-section .lead,
.hero-section p,
.hero-section .display-4 {
    color: #ffffff !important;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
}

.hero-section .display-4 {
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.hero-section .lead {
    font-size: 1.35rem;
    font-weight: 400;
    opacity: 1;
}

.min-vh-50 {
    min-height: 50vh;
}

/* Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

.category-card:hover {
    border-color: var(--primary-color) !important;
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    color: #ffffff !important;
}

.navbar-dark .nav-link {
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 500;
}

.navbar-dark .nav-link:hover {
    color: #ffffff !important;
}

/* Balance Dropdown in Navbar */
#balanceDropdown {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 6px 15px !important;
    transition: all 0.3s ease;
}

#balanceDropdown:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

#balanceDropdown .text-warning {
    color: #ffc107 !important;
    font-size: 1.1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.navbar .dropdown-menu {
    min-width: 250px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: none;
    margin-top: 10px;
}

.navbar .dropdown-menu li {
    border-bottom: 1px solid #f0f0f0;
}

.navbar .dropdown-menu li:last-child {
    border-bottom: none;
}

.navbar .dropdown-item {
    padding: 10px 20px;
    transition: all 0.2s ease;
}

.navbar .dropdown-item:hover {
    background-color: #f8f9fa;
    padding-left: 25px;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    text-align: center;
    font-size: 32px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    color: #ffffff;
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
    line-height: 60px;
    animation: pulse-whatsapp 2s infinite;
}

@keyframes pulse-whatsapp {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 26px;
    }
    
    .whatsapp-float i {
        line-height: 50px;
    }
}

/* Footer */
footer {
    margin-top: auto;
    background-color: #1a1a1a !important;
}

footer h5,
footer h6 {
    color: #ffffff !important;
    font-weight: 700;
}

footer p,
footer li,
footer .text-muted {
    color: #c0c0c0 !important;
}

footer a {
    color: #c0c0c0 !important;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #ffffff !important;
}

footer .social-links a {
    color: #ffffff !important;
    transition: all 0.3s ease;
}

footer .social-links a:hover {
    color: #0d6efd !important;
    transform: translateY(-3px);
}

footer hr {
    background-color: #444444 !important;
    opacity: 1;
}

footer .footer-link {
    color: #c0c0c0 !important;
    display: inline-block;
    padding: 4px 0;
    transition: all 0.3s ease;
}

footer .footer-link:hover {
    color: #ffffff !important;
    padding-left: 5px;
}

/* ==========================================
   FOOTER MOBILE RESPONSIVE STYLES
   ========================================== */

/* Footer Base Styles */
.footer-responsive {
    padding: 2rem 0 1.5rem !important;
}

.footer-heading {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-description {
    line-height: 1.6;
    margin-bottom: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links li:last-child {
    margin-bottom: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    word-break: break-word;
}

.footer-contact i {
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact-text {
    flex: 1;
}

.footer-divider {
    margin: 1.5rem 0;
    opacity: 0.3;
}

.footer-copyright {
    font-size: 0.9rem;
    padding: 0.5rem 0;
}

/* Mobile Footer Styles (< 576px) */
@media (max-width: 575px) {
    .footer-responsive {
        padding: 2rem 0 1rem !important;
    }
    
    .footer-responsive .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    /* Footer Headings */
    .footer-heading {
        font-size: 1rem !important;
        margin-bottom: 0.75rem;
    }
    
    .footer-heading h5 {
        font-size: 1.25rem !important;
    }
    
    /* Footer Description */
    .footer-description {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }
    
    /* Footer Links */
    .footer-links {
        margin-bottom: 0;
    }
    
    .footer-links li {
        margin-bottom: 0.5rem;
    }
    
    .footer-links a {
        font-size: 0.9rem;
        display: block;
        padding: 0.25rem 0;
    }
    
    /* Footer Contact */
    .footer-contact li {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }
    
    .footer-contact i {
        font-size: 0.9rem;
        width: 20px;
    }
    
    /* Footer Divider */
    .footer-divider {
        margin: 1.25rem 0;
    }
    
    /* Footer Copyright */
    .footer-copyright {
        font-size: 0.8rem;
        line-height: 1.5;
    }
    
    /* Stack columns vertically */
    .footer-responsive .row > div {
        margin-bottom: 1.5rem;
    }
    
    .footer-responsive .row > div:last-child {
        margin-bottom: 0;
    }
    
    /* Two column layout for links on mobile */
    .footer-responsive .col-6 {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

/* Small Mobile and Tablet (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .footer-responsive {
        padding: 2.5rem 0 1.5rem !important;
    }
    
    .footer-heading {
        font-size: 1.05rem;
    }
    
    .footer-links a,
    .footer-contact li {
        font-size: 0.95rem;
    }
    
    .footer-responsive .row > div {
        margin-bottom: 1.5rem;
    }
}

/* Tablet (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .footer-responsive {
        padding: 3rem 0 2rem !important;
    }
    
    .footer-responsive .row > div {
        margin-bottom: 1.25rem;
    }
    
    .footer-responsive .col-md-2,
    .footer-responsive .col-md-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Desktop (≥ 992px) */
@media (min-width: 992px) {
    .footer-responsive {
        padding: 3.5rem 0 2rem !important;
    }
    
    .footer-responsive .row > div {
        margin-bottom: 0 !important;
    }
}

/* Admin Footer Mobile Styles */
.admin-footer-responsive {
    padding: 1.5rem 1rem !important;
    font-size: 0.875rem;
}

@media (max-width: 575px) {
    .admin-footer-responsive {
        padding: 1rem 0.75rem !important;
    }
    
    .admin-footer-responsive p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
}

/* Ensure footer sticks to bottom */
html, body {
    height: 100%;
    min-height: 100vh;
}

body {
    display: flex;
    flex-direction: column;
}

footer {
    margin-top: auto;
}

/* Prevent text overflow in footer */
.footer-responsive * {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Touch-friendly footer links */
@media (hover: none) and (pointer: coarse) {
    .footer-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-warning {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #000000 !important;
    font-weight: 600;
}

.btn-warning:hover {
    background-color: #ffca2c;
    border-color: #ffca2c;
    color: #000000 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background-color: #0b5ed7;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-outline-light {
    color: #ffffff;
    border-color: #ffffff;
}

.btn-outline-light:hover {
    background-color: #ffffff;
    color: #0d6efd;
}

/* Step Numbers */
.step-number {
    font-size: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Dashboard Sidebar */
.dashboard-sidebar {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 20px;
}

.dashboard-sidebar .nav-section-title {
    padding: 8px 20px 4px;
}

.dashboard-sidebar .nav-section-title small {
    color: #6c757d;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.dashboard-sidebar .nav-link {
    color: var(--dark-color);
    padding: 12px 20px;
    margin-bottom: 5px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.dashboard-sidebar .nav-link:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
    transform: translateX(5px);
}

.dashboard-sidebar .nav-link.active {
    background-color: var(--primary-color);
    color: white;
}

.dashboard-sidebar .nav-link i {
    width: 20px;
    margin-right: 10px;
}

/* Stats Cards */
.stats-card {
    border-left: 4px solid var(--primary-color);
}

.stats-card.success {
    border-left-color: var(--success-color);
}

.stats-card.warning {
    border-left-color: var(--warning-color);
}

.stats-card.danger {
    border-left-color: var(--danger-color);
}

.stats-card.info {
    border-left-color: var(--info-color);
}

/* Task Card */
.task-card {
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.task-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.task-reward {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--success-color);
}

/* Badge Styles */
.badge {
    padding: 0.5em 0.8em;
    font-weight: 500;
}

/* Table Styles */
.table-hover tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

/* Form Styles */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Alert Styles */
.alert {
    border-radius: 8px;
    border: none;
}

.alert-success {
    background-color: #d1e7dd;
    color: #0f5132;
}

.alert-danger {
    background-color: #f8d7da;
    color: #842029;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
}

.alert-info {
    background-color: #cff4fc;
    color: #055160;
}

/* Pagination */
.pagination .page-link {
    color: var(--primary-color);
    border-radius: 8px;
    margin: 0 3px;
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Loading Spinner */
.spinner {
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-left-color: var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Notification Badge */
.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--danger-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Modal */
.modal-content {
    border-radius: 15px;
    border: none;
}

.modal-header {
    border-bottom: none;
    padding: 1.5rem;
}

.modal-footer {
    border-top: none;
    padding: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .dashboard-sidebar {
        position: static;
        margin-bottom: 20px;
    }
    
    .table-responsive {
        font-size: 0.875rem;
    }
}

/* ============================================
   ENHANCED MOBILE RESPONSIVE STYLES
   Mobile-First Design for All Devices
   ============================================ */

/* Base Mobile Styles (up to 576px) */
@media (max-width: 576px) {
    /* Typography */
    h1, .display-4 { font-size: 1.75rem !important; }
    h2, .h2 { font-size: 1.5rem !important; }
    h3, .h3 { font-size: 1.25rem !important; }
    h4, .h4 { font-size: 1.1rem !important; }
    h5, .h5 { font-size: 1rem !important; }
    .lead { font-size: 1.1rem !important; }
    
    /* Container Padding */
    .container, .container-fluid {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    /* Hero Section Mobile */
    .hero-section {
        min-height: auto !important;
        padding: 40px 0 !important;
    }
    
    .hero-section .display-4 {
        font-size: 1.75rem !important;
        margin-bottom: 1rem !important;
    }
    
    .hero-section .lead {
        font-size: 1rem !important;
    }
    
    /* Buttons Mobile */
    .btn {
        padding: 0.5rem 1rem !important;
        font-size: 0.875rem !important;
        white-space: nowrap;
    }
    
    .btn-lg {
        padding: 0.625rem 1.25rem !important;
        font-size: 1rem !important;
    }
    
    .btn-sm {
        padding: 0.375rem 0.75rem !important;
        font-size: 0.75rem !important;
    }
    
    /* Cards Mobile */
    .card {
        margin-bottom: 1rem;
    }
    
    .card-body {
        padding: 1rem !important;
    }
    
    .card-header {
        padding: 0.75rem 1rem !important;
    }
    
    /* Tables Mobile - Horizontal Scroll */
    .table-responsive {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .table {
        min-width: 600px;
        font-size: 0.8rem !important;
    }
    
    .table th,
    .table td {
        padding: 0.5rem !important;
        white-space: nowrap;
    }
    
    /* Forms Mobile */
    .form-control,
    .form-select {
        font-size: 1rem !important;
        padding: 0.5rem 0.75rem !important;
    }
    
    .input-group-text {
        padding: 0.5rem 0.75rem !important;
        font-size: 0.875rem !important;
    }
    
    /* Modal Mobile */
    .modal-dialog {
        margin: 0.5rem !important;
        max-width: calc(100% - 1rem) !important;
    }
    
    .modal-body {
        padding: 1rem !important;
    }
    
    /* Navbar Mobile */
    .navbar-brand {
        font-size: 1.25rem !important;
    }
    
    .navbar-nav {
        padding: 1rem 0;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
    }
    
    /* Dropdown Mobile */
    .dropdown-menu {
        max-width: 95vw !important;
        left: 2.5vw !important;
        right: 2.5vw !important;
        font-size: 0.9rem !important;
    }
    
    /* Dashboard Sidebar Mobile - Off-canvas Style */
    .dashboard-sidebar {
        position: static !important;
        margin-bottom: 1rem;
        top: auto !important;
    }
    
    .dashboard-sidebar .nav-link {
        padding: 0.75rem 1rem !important;
        font-size: 0.9rem !important;
    }
    
    /* Stats Cards Mobile - Stack Vertically */
    .stats-card {
        margin-bottom: 1rem;
    }
    
    /* Task Cards Mobile */
    .task-card {
        margin-bottom: 1rem;
    }
    
    .task-reward {
        font-size: 1.25rem !important;
    }
    
    /* Spacing Mobile */
    .mb-4 { margin-bottom: 1.5rem !important; }
    .mb-5 { margin-bottom: 2rem !important; }
    .py-5 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
    
    /* Hide Extra Elements on Small Screens */
    .d-none-mobile {
        display: none !important;
    }
    
    /* Flex Mobile */
    .d-flex {
        flex-wrap: wrap !important;
    }
    
    /* Alerts Mobile */
    .alert {
        padding: 0.75rem !important;
        font-size: 0.875rem !important;
    }
    
    /* Badges Mobile */
    .badge {
        font-size: 0.7rem !important;
        padding: 0.35em 0.6em !important;
    }
    
    /* Footer Mobile */
    footer {
        padding: 2rem 0 !important;
        font-size: 0.875rem !important;
    }
    
    footer .col-md-4,
    footer .col-md-2,
    footer .col-md-3 {
        margin-bottom: 1.5rem;
    }
    
    /* Wallet Cards Mobile */
    .col-md-4.mb-3 {
        margin-bottom: 1rem !important;
    }
}

/* Tablet Styles (577px to 768px) */
@media (min-width: 577px) and (max-width: 768px) {
    /* Typography */
    h1, .display-4 { font-size: 2.25rem !important; }
    h2, .h2 { font-size: 1.75rem !important; }
    
    /* Container */
    .container { max-width: 720px; }
    
    /* Sidebar */
    .dashboard-sidebar {
        position: static !important;
        margin-bottom: 1.5rem;
    }
    
    /* Cards - 2 Column Layout */
    .col-md-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    /* Tables */
    .table {
        font-size: 0.9rem !important;
    }
}

/* Large Tablet / Small Desktop (769px to 991px) */
@media (min-width: 769px) and (max-width: 991px) {
    /* Container */
    .container { max-width: 960px; }
    
    /* Cards */
    .col-md-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    /* Sidebar - Still Sticky */
    .dashboard-sidebar {
        position: sticky;
        top: 20px;
    }
}

/* Desktop (992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .container { max-width: 960px; }
}

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
    .container { max-width: 1140px; }
}

/* Extra Large Desktop (1400px and up) */
@media (min-width: 1400px) {
    .container { max-width: 1320px; }
}

/* Landscape Mobile (480px to 767px in landscape) */
@media (max-width: 767px) and (orientation: landscape) {
    .hero-section {
        min-height: auto !important;
        padding: 30px 0 !important;
    }
    
    .modal-dialog {
        max-height: 90vh;
        overflow-y: auto;
    }
}

/* Touch Device Improvements */
@media (hover: none) and (pointer: coarse) {
    /* Larger tap targets for touch */
    .btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    /* Remove hover effects on touch devices */
    .card:hover {
        transform: none;
    }
    
    .btn:hover {
        transform: none;
    }
}

/* Admin Panel Specific Mobile Styles */
@media (max-width: 768px) {
    /* Admin Tables */
    .admin-table {
        font-size: 0.75rem !important;
    }
    
    .admin-table .btn {
        padding: 0.25rem 0.5rem !important;
        font-size: 0.75rem !important;
    }
    
    /* Admin Cards */
    .admin-card .card-header {
        font-size: 1rem !important;
    }
    
    /* Admin Forms */
    .admin-form .row > div {
        margin-bottom: 1rem;
    }
    
    /* Settings Page */
    .col-lg-10 {
        padding: 0 !important;
    }
    
    /* Admin Navbar */
    .navbar-dark .navbar-collapse {
        background: rgba(0, 0, 0, 0.95);
        padding: 1rem;
        border-radius: 10px;
        margin-top: 0.5rem;
        max-height: 70vh;
        overflow-y: auto;
    }
    
    .navbar-dark .nav-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .navbar-dark .nav-item:last-child {
        border-bottom: none;
    }
    
    .navbar-dark .nav-link {
        padding: 0.75rem 0.5rem !important;
    }
    
    /* Admin Stats Cards */
    .admin-stats-card {
        margin-bottom: 1rem;
    }
    
    .admin-stats-card h3 {
        font-size: 1.5rem !important;
    }
    
    /* Admin Action Buttons Group */
    .btn-group {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    
    .btn-group .btn {
        border-radius: 0.375rem !important;
        margin-bottom: 0.25rem;
    }
    
    /* Admin Modal */
    .modal-lg {
        max-width: 95% !important;
    }
}

/* Payment Info Dropdown Mobile */
@media (max-width: 576px) {
    .dropdown-menu {
        position: fixed !important;
        top: auto !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        max-width: 100% !important;
        border-radius: 15px 15px 0 0 !important;
        margin: 0 !important;
        max-height: 70vh;
        overflow-y: auto;
    }
    
    .dropdown-menu.show {
        animation: slideUp 0.3s ease-out;
    }
    
    @keyframes slideUp {
        from {
            transform: translateY(100%);
        }
        to {
            transform: translateY(0);
        }
    }
}

/* Horizontal Scroll Hint */
.table-responsive::after {
    content: "Swipe to see more →";
    display: block;
    text-align: center;
    font-size: 0.75rem;
    color: #6c757d;
    padding: 0.5rem;
    display: none;
}

@media (max-width: 768px) {
    .table-responsive:not(.scrolled)::after {
        display: block;
    }
}

/* Prevent horizontal scroll on body */
body {
    overflow-x: hidden;
}

/* Ensure images are responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Responsive embed (for videos/iframes) */
.embed-responsive {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
}

.embed-responsive::before {
    display: block;
    content: "";
}

.embed-responsive-16by9::before {
    padding-top: 56.25%;
}

.embed-responsive iframe,
.embed-responsive embed,
.embed-responsive object,
.embed-responsive video {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Mobile Navigation Toggle */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(0, 0, 0, 0.95);
        padding: 1rem;
        border-radius: 10px;
        margin-top: 1rem;
    }
}

/* Improve readability on small screens */
@media (max-width: 576px) {
    body {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    p {
        margin-bottom: 0.75rem;
    }
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #7e22ce 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
}

.cta-section h2,
.cta-section p,
.cta-section .lead {
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

/* Better contrast for text on colored backgrounds */
.bg-primary {
    background-color: #0d6efd !important;
}

.text-white {
    color: #ffffff !important;
}

.text-muted {
    color: #6c757d !important;
}

/* Ensure icons on hero are visible */
.hero-section .fa-coins {
    color: #ffffff !important;
    opacity: 1;
    filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.5));
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Print Styles */
@media print {
    .navbar,
    footer,
    .btn,
    .dashboard-sidebar {
        display: none !important;
    }
}
/ *   A d m i n   T a s k   S u b m i s s i o n s   M o b i l e   C a r d   S t y l e s   * / 
 . s u b m i s s i o n - c a r d   { 
         b a c k g r o u n d :   w h i t e ; 
         b o x - s h a d o w :   0   2 p x   8 p x   r g b a ( 0 ,   0 ,   0 ,   0 . 1 ) ; 
         t r a n s i t i o n :   b o x - s h a d o w   0 . 2 s   e a s e ; 
 } 
 
 . s u b m i s s i o n - c a r d : h o v e r   { 
         b o x - s h a d o w :   0   4 p x   1 5 p x   r g b a ( 0 ,   0 ,   0 ,   0 . 1 5 ) ; 
 } 
 
 . s u b m i s s i o n - c a r d   h 6   { 
         f o n t - s i z e :   0 . 9 5 r e m ; 
         c o l o r :   # 3 3 3 ; 
 } 
 
 . s u b m i s s i o n - c a r d   . s m a l l   { 
         f o n t - s i z e :   0 . 8 5 r e m ; 
 } 
 
 . s u b m i s s i o n - c a r d   . t e x t - s u c c e s s   { 
         f o n t - s i z e :   0 . 9 r e m ; 
 } 
 
 . s u b m i s s i o n - c a r d   . b t n - s m   { 
         f o n t - s i z e :   0 . 7 5 r e m ; 
         p a d d i n g :   0 . 2 5 r e m   0 . 5 r e m ; 
 } 
 
 / *   M o b i l e   T a s k   S u b m i s s i o n s   S p e c i f i c   * / 
 @ m e d i a   ( m a x - w i d t h :   7 6 7 p x )   { 
         . m o d a l - f u l l s c r e e n   { 
                 m a x - w i d t h :   1 0 0 v w ; 
                 m a r g i n :   0 ; 
         } 
         
         . m o d a l - f u l l s c r e e n   . m o d a l - c o n t e n t   { 
                 h e i g h t :   1 0 0 v h ; 
                 b o r d e r :   n o n e ; 
                 b o r d e r - r a d i u s :   0 ; 
         } 
         
         . m o d a l - f u l l s c r e e n   . m o d a l - b o d y   { 
                 f l e x :   1 ; 
                 o v e r f l o w - y :   a u t o ; 
         } 
         
         . m o d a l - f u l l s c r e e n   . m o d a l - f o o t e r   { 
                 f l e x - w r a p :   n o w r a p ; 
         } 
         
         . s u b m i s s i o n - c a r d   { 
                 p a d d i n g :   0 . 7 5 r e m   ! i m p o r t a n t ; 
         } 
         
         . s u b m i s s i o n - c a r d   h 6   { 
                 f o n t - s i z e :   0 . 9 r e m ; 
         } 
         
         . s u b m i s s i o n - c a r d   . s m a l l   { 
                 f o n t - s i z e :   0 . 8 r e m ; 
         } 
         
         . s u b m i s s i o n - c a r d   . t e x t - s u c c e s s   { 
                 f o n t - s i z e :   0 . 8 5 r e m ; 
         } 
         
         . s u b m i s s i o n - c a r d   . b t n - s m   { 
                 f o n t - s i z e :   0 . 7 r e m ; 
                 p a d d i n g :   0 . 2 r e m   0 . 4 r e m ; 
         } 
         
         . s u b m i s s i o n - c a r d   . c a r d   { 
                 m a r g i n - b o t t o m :   0 . 7 5 r e m   ! i m p o r t a n t ; 
         } 
         
         . s u b m i s s i o n - c a r d   . c a r d   . c a r d - b o d y   { 
                 p a d d i n g :   0 . 7 5 r e m   ! i m p o r t a n t ; 
         } 
 } 
 
 / *   S m a l l   M o b i l e   ( <   3 6 0 p x )   * / 
 @ m e d i a   ( m a x - w i d t h :   3 5 9 p x )   { 
         . s u b m i s s i o n - c a r d   { 
                 p a d d i n g :   0 . 5 r e m   ! i m p o r t a n t ; 
         } 
         
         . s u b m i s s i o n - c a r d   h 6   { 
                 f o n t - s i z e :   0 . 8 5 r e m ; 
         } 
         
         . s u b m i s s i o n - c a r d   . s m a l l   { 
                 f o n t - s i z e :   0 . 7 5 r e m ; 
         } 
         
         . s u b m i s s i o n - c a r d   . t e x t - s u c c e s s   { 
                 f o n t - s i z e :   0 . 8 r e m ; 
         } 
         
         . f a - u s e r , 
         . f a - e n v e l o p e , 
         . f a - t a s k s , 
         . f a - h a s h t a g , 
         . f a - c o i n s , 
         . f a - f i l e - a l t   { 
                 f o n t - s i z e :   0 . 7 r e m   ! i m p o r t a n t ; 
         } 
 } 
 
 / *   T a b l e t   S t y l e s   * / 
 @ m e d i a   ( m i n - w i d t h :   7 6 8 p x )   a n d   ( m a x - w i d t h :   9 9 1 p x )   { 
         . s u b m i s s i o n - c a r d   . t e x t - s u c c e s s   { 
                 f o n t - s i z e :   0 . 8 5 r e m ; 
         } 
         
         . s u b m i s s i o n - c a r d   . s m a l l   { 
                 f o n t - s i z e :   0 . 8 r e m ; 
         } 
 }  
 