/* Main Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card {
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card-header {
    border-radius: 10px 10px 0 0 !important;
    font-weight: bold;
}

/* Form Styles */
.form-control {
    border-radius: 8px;
    padding: 10px 15px;
}

.btn {
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
    transform: translateY(-2px);
}

/* Dashboard Cards */
.dashboard-card {
    text-align: center;
    padding: 20px;
    height: 100%;
}

.dashboard-card i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #0d6efd;
}

.dashboard-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* Tasks List */
.task-list {
    list-style: none;
    padding: 0;
}

.task-item {
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.task-item:hover {
    background-color: #f8f9fa;
}

.task-complete {
    background-color: #d1e7dd;
}

/* Ranking Table */
.ranking-table th {
    background-color: #0d6efd;
    color: white;
}

.ranking-table tr:nth-child(1) td {
    background-color: gold;
    font-weight: bold;
}

.ranking-table tr:nth-child(2) td {
    background-color: silver;
    font-weight: bold;
}

.ranking-table tr:nth-child(3) td {
    background-color: #cd7f32; /* bronze */
    font-weight: bold;
}

/* Registration Form */
.registration-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Admin Section */
.admin-actions {
    margin-bottom: 20px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .card {
        margin-bottom: 15px;
    }
    
    .dashboard-card i {
        font-size: 2.5rem;
    }
    
    .task-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .task-item .btn-group {
        margin-top: 10px;
        align-self: flex-end;
    }
} 