﻿.hold-card {
    background-color: var(--secondary-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    width: calc(50% - 15px); /* 50% width minus spacing */
}

.card-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px; /* Creates spacing between grid items */
}

.hover {
    transition: transform 0.2s;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

    .hover:hover {
        transform: scale(1.02);
        box-shadow: 0 6px 12px rgba(0,0,0,0.2);
    }


.hold-header {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.hold-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.hold-info {
    flex: 1;
    min-width: 280px;
}

.hold-registration {
    flex: 0 0 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
}

.register-button {
    width: 60%;
}

.availability {
    font-weight: 600;
    text-align: center;
    width: 60%;
}

.availability-high {
    color: #1a7f37;
}
/* green */
.availability-medium {
    color: #b26a00;
}
/* orange */
.availability-low {
    color: #d32f2f;
}
/* red */
.availability-none {
    color: #6c757d;
}

.description {
    margin-top: 15px;
    border-top: 1px solid #ddd;
    padding-top: 15px;
}

.headline {
    margin-top: 15px;
    border-bottom: 1px solid #ddd;
    padding-top: 15px;
}

body {
    background-image: none;
}

/* Full width card for intro text */
.full-width-card {
    width: 100%;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .hold-card {
        width: 100%; /* Full width on mobile */
    }
}

.btn:disabled {
    background-color: #FBC1C7 !important;
}