/* Guest Management Forms Styling */

.guest-section {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    border: 1px solid #e0e0e0;
}

.guest-header {
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.guest-icon {
    color: #5598E9;
    font-size: 20px;
}

.guest-title {
    color: #333;
    font-weight: 600;
}

.guest-forms-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.guest-form {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    position: relative;
    transition: all 0.3s ease;
}

.guest-form:hover {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-color: #5598E9;
}

.guest-form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.guest-number {
    font-weight: 600;
    color: #5598E9;
    font-size: 14px;
}

.remove-guest-btn {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.remove-guest-btn:hover {
    background: #c82333;
}

.guest-form-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 15px;
    align-items: end;
}

@media (max-width: 768px) {
    .guest-form-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

.guest-form-group {
    display: flex;
    flex-direction: column;
}

.guest-form-group label {
    font-size: 13px;
    color: #666;
    margin-bottom: 5px;
    font-weight: 500;
}

.guest-form-group input,
.guest-form-group select {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.guest-form-group input:focus,
.guest-form-group select:focus {
    outline: none;
    border-color: #5598E9;
    box-shadow: 0 0 0 2px rgba(85, 152, 233, 0.1);
}

.guest-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

#add-guest-btn {
    background: #5598E9;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

#add-guest-btn:hover:not(:disabled) {
    background: #4a8ae2;
}

#add-guest-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

.guest-counter {
    font-size: 13px;
    color: #666;
}

/* Animation for adding/removing guests */
.guest-form {
    animation: slideInUp 0.3s ease;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Error states */
.guest-form-group input.error,
.guest-form-group select.error {
    border-color: #dc3545;
}

.guest-form-error {
    color: #dc3545;
    font-size: 12px;
    margin-top: 4px;
}

/* Premium locked state for guests */
.guest-section.locked {
    position: relative;
    opacity: 0.7;
    pointer-events: none;
}

.guest-section.locked::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    z-index: 1;
}
