.gdf-container {
    max-width: 800px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.gdf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.gdf-form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.gdf-form-group-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.gdf-form-group label {
    font-weight: bold;
    margin-bottom: 5px;
}

.gdf-form-group input[type="text"],
.gdf-form-group input[type="date"],
.gdf-form-group select,
.gdf-form-group textarea {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
}

.gdf-checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 5px;
}

.gdf-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: normal !important;
    cursor: pointer;
}

.gdf-meal-card {
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    background: #fafafa;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.gdf-card-used {
    background-color: #f0f0f1;
    opacity: 0.65;
}

.gdf-btn {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 4px;
}

.gdf-btn:hover {
    background: #005177;
}

.gdf-btn-danger {
    background: #d63638;
}

.gdf-btn-danger:hover {
    background: #b32d2e;
}

.gdf-notice {
    background: #e7f4e8;
    border-left: 4px solid #46b450;
    padding: 10px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gdf-error {
    color: #d63638;
    font-weight: bold;
    margin-bottom: 15px;
}

.gdf-auth-box {
    border: 1px solid #ccc;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 5px;
    margin-bottom: 20px;
}

#gdf-form-message {
    margin-bottom: 15px;
    font-weight: bold;
}

/* View Toggle Controls */
.gdf-view-toggle {
    display: flex;
    gap: 5px;
}

.gdf-toggle-btn {
    background: #e0e0e0;
    border: 1px solid #ccc;
    padding: 6px 12px;
    cursor: pointer;
    border-radius: 3px;
}

.gdf-toggle-btn.active {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

.gdf-hidden {
    display: none !important;
}

/* Frontend Table View */
.gdf-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.gdf-table th, .gdf-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.gdf-table th {
    background-color: #f2f2f2;
}

/* Admin Modal Window */
.gdf-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.gdf-modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 6px;
    width: 90%;
    max-width: 550px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.gdf-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: #888;
}

.gdf-modal-close:hover {
    color: #000;
}