/* Custom Styles for VibooEarn */

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
    background-color: #f8f9fa; /* Light gray background */
    color: #343a40; /* Dark text for readability */
}

.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,.08);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: #007bff !important; /* Blue brand color */
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75) !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #007bff !important; /* Highlight active/hovered link */
}

.hero-section {
    background: linear-gradient(45deg, #007bff, #00bfff); /* Blue gradient */
    color: white;
    padding: 100px 0;
    text-align: center;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    margin-bottom: 50px;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 1.5rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.btn-primary {
    background-color: #28a745; /* Green for primary action */
    border-color: #28a745;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.7);
    color: rgba(255, 255, 255, 0.9);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-outline-light:hover {
    background-color: white;
    color: #007bff;
}

.section-heading {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 10px;
}

.section-heading::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #007bff;
    border-radius: 2px;
}

.feature-icon {
    font-size: 3rem;
    color: #007bff;
    margin-bottom: 20px;
}

.card {
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,.05);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.form-container {
    max-width: 500px;
    margin: 50px auto;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #007bff;
}

.alert-fixed {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1050;
    width: auto;
    max-width: 300px;
}

footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Dashboard Specific Styles */
.dashboard-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    padding: 20px;
    margin-bottom: 20px;
}

.dashboard-card h4 {
    color: #007bff;
    margin-bottom: 15px;
}

.available-tasks .task-item {
    background-color: #fefefe;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background-color 0.2s ease;
}

.available-tasks .task-item:hover {
    background-color: #e2f0ff;
}

.platform-icon {
    font-size: 2rem;
    margin-right: 15px;
    color: #6c757d;
}

.platform-whatsapp { color: #25d366; }
.platform-facebook { color: #3b5998; }
.platform-instagram { color: #E1306C; }
.platform-tiktok { color: #69C9D0; }
.platform-twitter { color: #1DA1F2; }


.task-details h5 {
    margin-bottom: 5px;
    color: #343a40;
}

.task-details p {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0;
}

.task-coins {
    font-weight: bold;
    color: #28a745;
    white-space: nowrap;
}

.admin-action-buttons .btn {
    margin-right: 5px;
}

/* Admin Panel Specific Styles */
.admin-sidebar {
    background-color: #343a40;
    color: #fff;
    padding: 20px;
    min-height: calc(100vh - 56px); /* Adjust for navbar height */
}

.admin-sidebar .nav-link {
    color: rgba(255, 255, 255, 0.75);
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 5px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    background-color: #007bff;
    color: #fff;
}

.admin-content {
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.table-responsive {
    margin-top: 20px;
}

.table thead th {
    background-color: #007bff;
    color: #fff;
    vertical-align: middle;
}

.table tbody tr:nth-of-type(odd) {
    background-color: #f2f2f2;
}

.submission-status-pending {
    color: #ffc107; /* warning yellow */
    font-weight: bold;
}
.submission-status-approved {
    color: #28a745; /* success green */
    font-weight: bold;
}
.submission-status-rejected {
    color: #dc3545; /* danger red */
    font-weight: bold;
}

.coins-display {
    font-size: 1.2rem;
    font-weight: bold;
    color: #28a745;
}

.modal-content {
    border-radius: 15px;
}

.modal-header {
    border-bottom: none;
}

.modal-footer {
    border-top: none;
}
