
/* Environment: dev - Generated styles */

.debug-info {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 3px;
    z-index: 9999;
}
/* Recurring Events Styles */

.recurring-events-tabs {
    display: flex;
    margin-bottom: 2rem;
    border-bottom: 2px solid #e0e0e0;
}

.tab-button {
    background: none;
    border: none;
    padding: 1rem 2rem;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    color: #666;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.tab-button:hover {
    color: #333;
    background-color: #f5f5f5;
}

.tab-button.active {
    color: #2c3e50;
    border-bottom-color: #3498db;
    background-color: #f8f9fa;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.recurring-form {
    max-width: 800px;
}

.form-section {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.form-section h3 {
    margin-top: 0;
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.5rem;
}

.form-section p {
    color: #666;
    margin-bottom: 1.5rem;
}

.pattern-suggestions {
    position: relative;
    z-index: 10;
}

.pattern-suggestion {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.pattern-suggestion:hover {
    background: #e9ecef;
}

.pattern-suggestion:first-child {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.pattern-suggestion:last-child {
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.validation-result {
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 4px;
    display: none;
}

.validation-result.valid {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.validation-result.invalid {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.validation-result.info {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
}

.validation-result h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
}

.validation-result ul {
    margin: 0;
    padding-left: 1.5rem;
}

.preview-info {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    border-left: 4px solid #3498db;
}

.preview-info h4 {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
}

.preview-info p {
    margin: 0.25rem 0;
    color: #666;
}

.preview-events {
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #dee2e6;
    border-radius: 4px;
}

.preview-event {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    background: #fff;
}

.preview-event:last-child {
    border-bottom: none;
}

.preview-event:nth-child(even) {
    background: #f8f9fa;
}

.preview-event-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.preview-event-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.preview-event-detail {
    display: flex;
    align-items: center;
}

.preview-event-detail strong {
    margin-right: 0.5rem;
    color: #333;
}

.recurring-indicator {
    display: inline-flex;
    align-items: center;
    background: #e3f2fd;
    color: #1976d2;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-left: 0.5rem;
}

.recurring-indicator::before {
    content: "🔄";
    margin-right: 0.25rem;
}

.modal.large .modal-content {
    max-width: 900px;
    width: 90%;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
}

.button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.button:not(.button-secondary) {
    background: #3498db;
    color: white;
}

.button:not(.button-secondary):hover {
    background: #2980b9;
}

.button.button-secondary {
    background: #95a5a6;
    color: white;
}

.button.button-secondary:hover {
    background: #7f8c8d;
}

.button:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Loading states */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive design */
@media (max-width: 768px) {
    .recurring-events-tabs {
        flex-direction: column;
    }
    
    .tab-button {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid #e0e0e0;
        border-right: none;
    }
    
    .tab-button.active {
        border-bottom-color: #e0e0e0;
        border-left: 3px solid #3498db;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .preview-event-details {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .modal.large .modal-content {
        width: 95%;
        margin: 1rem;
    }
}

/* Pattern input enhancements */
.form-group {
    position: relative;
}

.pattern-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #dee2e6;
    border-top: none;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
}

.pattern-suggestions:empty {
    display: none;
}

/* Categories styling */
.categories-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.category-checkbox {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.category-checkbox:hover {
    background: #f8f9fa;
    border-color: #3498db;
}

.category-checkbox input[type="checkbox"] {
    margin-right: 0.5rem;
}

.category-checkbox.selected {
    background: #e3f2fd;
    border-color: #3498db;
    color: #1976d2;
}

/* Success/Error states */
.success-message {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
}

.error-message {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
}

.warning-message {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
}