/* Custom styles for the check-in system */

body {
    background-color: #f8f9fa;
}

.card {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.checkin-card {
    border-left: 5px solid #0d6efd;
}

.checkin-card.checked-in {
    border-left: 5px solid #198754;
}

.checkin-card.not-checked-in {
    border-left: 5px solid #dc3545;
}

.event-card {
    height: 100%;
}

.event-dates {
    font-size: 0.9rem;
    color: #6c757d;
}

.attendee-number {
    font-weight: bold;
    color: #0d6efd;
}

.search-box {
    position: relative;
    margin-bottom: 20px;
}

.search-box .form-control {
    padding-left: 40px;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 10px;
    color: #6c757d;
}

.btn-checkin {
    min-width: 100px;
}

.checkin-status {
    font-weight: bold;
}

.checkin-status.checked-in {
    color: #198754;
}

.checkin-status.not-checked-in {
    color: #dc3545;
}

.checkin-time {
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 5px;
}

.login-form {
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.dashboard-stats {
    text-align: center;
    padding: 20px;
}

.dashboard-stats .number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #0d6efd;
}

.dashboard-stats .label {
    font-size: 1rem;
    color: #6c757d;
}

.event-stats h6 {
    margin-bottom: 10px;
    font-weight: 600;
}

.event-stats table {
    font-size: 0.85rem;
    margin-bottom: 0;
}

.event-stats th {
    font-weight: 600;
    text-align: center;
}

.event-stats td {
    text-align: center;
    vertical-align: middle;
}

.event-stats .badge {
    font-size: 0.85rem;
    padding: 5px 8px;
}

.event-stats .text-muted {
    font-size: 0.75rem;
    display: block;
    margin-top: 2px;
}

@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .event-stats table {
        font-size: 0.75rem;
    }

    .event-stats .badge {
        font-size: 0.75rem;
        padding: 3px 6px;
    }
}