
/**
 * EarnRewards - Custom CSS
 */

/* Global Styles */
body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

/* Card styles */
.card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-img-top {
    height: 180px;
    object-fit: cover;
}

/* Task card styles */
.task-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.task-card .card-body {
    flex: 1;
}

/* Premium styles */
.border-premium {
    border-color: #ffc107 !important;
    border-width: 2px !important;
}

.bg-premium {
    background-color: #ffc107 !important;
}

.bg-premium-dark {
    background-color: #e0a800 !important;
}

.text-premium {
    color: #ffc107 !important;
}

/* Admin sidebar */
.admin-sidebar {
    background-color: #343a40;
    min-height: 100vh;
    position: sticky;
    top: 0;
    left: 0;
    width: 250px;
    z-index: 100;
    padding-top: 20px;
}

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

.admin-sidebar .nav-link:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

.admin-sidebar .nav-link.active {
    color: #fff;
    background-color: #0d6efd;
}

.admin-sidebar .nav-link i {
    width: 20px;
    text-align: center;
    margin-right: 10px;
}

/* Border left cards */
.border-left-primary {
    border-left: 4px solid #0d6efd;
}

.border-left-success {
    border-left: 4px solid #198754;
}

.border-left-info {
    border-left: 4px solid #0dcaf0;
}

.border-left-warning {
    border-left: 4px solid #ffc107;
}

.border-left-danger {
    border-left: 4px solid #dc3545;
}

/* Responsive */
@media (max-width: 767.98px) {
    .admin-sidebar {
        position: fixed;
        top: 0;
        left: -250px;
        transition: all 0.3s;
    }
    
    .admin-sidebar.show-sidebar {
        left: 0;
    }
}
