.main-container-b3 {
    min-height: 100vh;
    background-color: #f8f9fa;
    padding: 2rem;
    margin-left: 260px;
}

.tasks-container-b3 {
    max-width: 1200px;
    margin: 0 auto;
}

.tasks-header-b3 {
    margin-bottom: 2rem;
}

.tasks-header-b3 h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.tasks-header-b3 h1::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #ff7e00, #ff9800);
    bottom: -8px;
    left: 0;
    border-radius: 2px;
}

.progress-section-b3 {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 6px 16px rgba(0,0,0,0.05);
    margin-top: 1.5rem;
}

.progress-stats-b3 {
    margin-bottom: 1rem;
}

.progress-text-b3 {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.progress-percentage-b3 {
    color: #ff7e00;
    font-weight: 600;
}

.progress-bar-container-b3 {
    height: 10px;
    background-color: #f0f0f0;
    border-radius: 5px;
    overflow: hidden;
}

.progress-bar-b3 {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #ff7e00, #ff9800);
    border-radius: 5px;
    transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.mining-status-b3 {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 0.8rem;
    border-top: 1px solid #f0f0f0;
    margin-top: 0.8rem;
}

.status-indicator-b3 {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ff9800;
    transition: background-color 0.5s ease;
}

#miningStatusText {
    font-weight: 500;
    color: #555;
    transition: color 0.5s ease;
}

.tasks-section-b3 {
    margin-bottom: 2.5rem;
}

.tasks-section-b3 h2 {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    color: #444;
    position: relative;
    display: inline-block;
}

.tasks-section-b3 h2::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background: #ddd;
    bottom: -6px;
    left: 0;
    border-radius: 1.5px;
}

.task-cards-b3 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.task-card-b3 {
    background-color: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.task-card-b3:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

.task-card-b3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #ff9800;
}

.social-task-b3.facebook-b3::before {
    background: #1877f2;
}

.social-task-b3.instagram-b3::before {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-task-b3.twitter-b3::before {
    background: #1da1f2;
}

.social-task-b3.youtube-b3::before {
    background: #ff0000;
}

.task-icon-b3 {
    font-size: 1.8rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    background: #ff9800;
    margin-bottom: 0.5rem;
}

.social-task-b3.facebook-b3 .task-icon-b3 {
    background: #1877f2;
}

.social-task-b3.instagram-b3 .task-icon-b3 {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-task-b3.twitter-b3 .task-icon-b3 {
    background: #1da1f2;
}

.social-task-b3.youtube-b3 .task-icon-b3 {
    background: #ff0000;
}

.task-content-b3 {
    flex: 1;
}

.task-content-b3 h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.task-content-b3 p {
    color: #666;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.reward-b3 {
    background: #fcf8e3;
    padding: 0.5rem 0.8rem;
    border-radius: 4px;
    display: inline-block;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.reward-b3 strong {
    color: #ff7e00;
}

.timer-container-b3 {
    margin-top: 0.5rem;
}

.timer-b3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

.social-link-b3 {
    display: block;
    text-decoration: none;
    color: #0078d7;
    font-size: 0.9rem;
    margin: 0.8rem 0;
    transition: color 0.2s ease;
}

.social-link-b3:hover {
    color: #005a9e;
}

.task-action-b3 {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: auto;
}

.check-in-btn-b3, .confirm-btn-b3 {
    padding: 0.8rem 1.2rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.check-in-btn-b3 {
    background-color: #ff9800;
    color: white;
}

.check-in-btn-b3:hover {
    background-color: #f57c00;
    transform: translateY(-2px);
}

.confirm-btn-b3 {
    background-color: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
}

.social-task-b3.facebook-b3 .confirm-btn-b3:hover {
    background-color: #1877f2;
    color: white;
    border-color: #1877f2;
}

.social-task-b3.instagram-b3 .confirm-btn-b3:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
    border-color: transparent;
}

.social-task-b3.twitter-b3 .confirm-btn-b3:hover {
    background-color: #1da1f2;
    color: white;
    border-color: #1da1f2;
}

.social-task-b3.youtube-b3 .confirm-btn-b3:hover {
    background-color: #ff0000;
    color: white;
    border-color: #ff0000;
}

.completion-indicator-b3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
}

.completion-indicator-b3.pending-b3 {
    background-color: #fff8e1;
    color: #ff9800;
}

.completion-indicator-b3.completed-b3 {
    background-color: #e8f5e9;
    color: #4caf50;
}

.completion-indicator-b3.disabled-b3 {
    background-color: #f5f5f5;
    color: #9e9e9e;
}

.check-in-btn-b3:disabled, .confirm-btn-b3:disabled {
    background-color: #f5f5f5;
    color: #9e9e9e;
    cursor: not-allowed;
    border-color: #e0e0e0;
    transform: none;
}

/* Modal Styles */
.modal-overlay-b3 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay-b3.active {
    opacity: 1;
    visibility: visible;
}

.modal-b3 {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.modal-overlay-b3.active .modal-b3 {
    transform: translateY(0);
}

.modal-content-b3 {
    padding: 2rem;
    text-align: center;
}

.success-icon-b3 {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.success-icon-b3 svg {
    width: 100%;
    height: 100%;
}

.circle-b3 {
    stroke: #4caf50;
    stroke-width: 2;
    stroke-dasharray: 157;
    stroke-dashoffset: 157;
    animation: circle-animation 1s ease forwards;
}

.check-b3 {
    stroke: #4caf50;
    stroke-width: 2;
    stroke-dasharray: 40;
    stroke-dashoffset: 40;
    animation: check-animation 0.8s 0.4s ease forwards;
}

@keyframes circle-animation {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes check-animation {
    to {
        stroke-dashoffset: 0;
    }
}

.modal-content-b3 h2 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.modal-content-b3 p {
    color: #666;
    margin-bottom: 1.5rem;
}

.modal-close-btn-b3 {
    background-color: #4caf50;
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.modal-close-btn-b3:hover {
    background-color: #43a047;
}

/* Animation for completed tasks */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(76, 175, 80, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

.task-card-b3.completed {
    animation: pulse 1.5s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .main-container-b3 {
        padding: 1rem;
        margin-left: 0;
    }
    
    .task-cards-b3 {
        grid-template-columns: 1fr;
    }
    
    .tasks-header-b3 h1 {
        font-size: 2rem;
    }
}