/**
 * Advanced Date Selection and Schedule Management Styles
 * HY Coaching Institute Schedule Manager v2.0.0
 * Enhanced with Professional Button Styling and Comprehensive Date Selection Features
 */

/* Enhanced Main Date Selection Section */
.hycism-main-date-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.hycism-date-header h2 {
    color: #2c3e50;
    margin: 0 0 10px 0;
    font-size: 24px;
    font-weight: 600;
}

.hycism-date-description {
    color: #6c757d;
    margin: 0 0 25px 0;
    font-size: 14px;
    line-height: 1.5;
}

.hycism-date-control-panel {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 25px;
    align-items: start;
}

.hycism-date-selector-main {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.hycism-date-input-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hycism-date-input-group label {
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.hycism-main-date-input {
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fff;
}

.hycism-main-date-input:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

.hycism-load-date-btn {
    padding: 12px 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hycism-date-quick-actions {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.hycism-date-quick-actions h4 {
    margin: 0 0 15px 0;
    color: #2c3e50;
    font-size: 14px;
    font-weight: 600;
}

.hycism-quick-date-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hycism-quick-date {
    padding: 10px 15px;
    font-size: 13px;
    text-align: left;
    justify-content: flex-start;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.hycism-quick-date:hover {
    transform: translateX(5px);
    background-color: #f8f9fa;
    border-color: #007cba;
}

.hycism-current-date-info {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border: 1px solid #90caf9;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(33, 150, 243, 0.1);
}

.hycism-date-status h4 {
    margin: 0 0 12px 0;
    color: #1565c0;
    font-size: 14px;
    font-weight: 600;
}

.hycism-date-display {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
}

.hycism-date-value {
    font-size: 16px;
    font-weight: 600;
    color: #1565c0;
}

.hycism-date-badge {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(21, 101, 192, 0.1);
    color: #1565c0;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid rgba(21, 101, 192, 0.2);
    width: fit-content;
}

.hycism-date-note {
    margin: 0;
    font-size: 12px;
    color: #546e7a;
    font-style: italic;
}

/* Schedule Tools Section */
.hycism-schedule-tools-section {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.hycism-schedule-tools-section h3 {
    margin: 0 0 20px 0;
    color: #2c3e50;
    font-size: 20px;
    font-weight: 600;
}

.hycism-schedule-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.hycism-tool-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
}

.hycism-tool-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #007cba;
}

.hycism-tool-card h4 {
    margin: 0 0 10px 0;
    color: #2c3e50;
    font-size: 16px;
    font-weight: 600;
}

.hycism-tool-card p {
    margin: 0 0 15px 0;
    color: #6c757d;
    font-size: 14px;
    line-height: 1.4;
}

.hycism-copy-controls,
.hycism-create-controls,
.hycism-advanced-controls {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hycism-copy-controls label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 13px;
    margin: 0;
}

.hycism-copy-controls input[type="date"] {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 10px;
}

.hycism-tool-btn {
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
}

/* Enhanced Schedule Container */
.hycism-schedule-container {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 0;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.hycism-schedule-header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #fff;
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.hycism-schedule-title h3 {
    margin: 0 0 10px 0;
    font-size: 22px;
    font-weight: 600;
}

.hycism-schedule-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hycism-schedule-meta .hycism-date-badge {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hycism-schedule-count {
    font-size: 14px;
    opacity: 0.9;
    font-weight: 500;
}

.hycism-schedule-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.hycism-schedule-actions .button {
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Empty State Styling */
.hycism-empty-schedule {
    padding: 40px 25px;
    text-align: center;
}

.hycism-empty-state {
    max-width: 400px;
    margin: 0 auto;
}

.hycism-empty-state .dashicons {
    font-size: 48px;
    color: #bbb;
    margin-bottom: 20px;
}

.hycism-empty-state h4 {
    margin: 0 0 15px 0;
    color: #666;
    font-size: 18px;
    font-weight: 600;
}

.hycism-empty-state p {
    margin: 0 0 25px 0;
    color: #888;
    font-size: 14px;
    line-height: 1.5;
}

.hycism-add-first-schedule {
    padding: 15px 25px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
}

/* Enhanced Form Styling */
.hycism-form-header {
    background: linear-gradient(135deg, #e8f5e8 0%, #d4edda 100%);
    border: 1px solid #c3e6cb;
    border-radius: 8px 8px 0 0;
    padding: 20px 25px;
    margin: -20px -25px 25px -25px;
}

.hycism-form-header h3 {
    margin: 0 0 8px 0;
    color: #155724;
    font-size: 20px;
    font-weight: 600;
}

.hycism-form-description {
    margin: 0;
    color: #155724;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.hycism-form-date-badge {
    padding: 3px 8px;
    background: rgba(21, 87, 36, 0.1);
    color: #155724;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid rgba(21, 87, 36, 0.2);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hycism-date-control-panel {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hycism-date-control-panel {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .hycism-schedule-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .hycism-schedule-actions {
        width: 100%;
        justify-content: flex-start;
    }
    
    .hycism-quick-date-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    
    .hycism-schedule-tools-grid {
        grid-template-columns: 1fr;
    }
}

/* Frontend Date Selection Styles */
.hycism-frontend-date-section {
    background: linear-gradient(135deg, #e8f4f8 0%, #d1ecf1 100%);
    border: 1px solid #bee5eb;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.1);
}

.hycism-frontend-date-header h3 {
    color: #0c5460;
    margin: 0 0 10px 0;
    font-size: 22px;
    font-weight: 600;
}

.hycism-frontend-date-description {
    color: #0c5460;
    margin: 0 0 20px 0;
    font-size: 14px;
    line-height: 1.5;
}

.hycism-frontend-date-controls {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.hycism-frontend-date-selector {
    flex: 1;
    min-width: 300px;
}

.hycism-frontend-date-input {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.hycism-frontend-date-input label {
    font-weight: 600;
    color: #0c5460;
    margin: 0;
    white-space: nowrap;
}

.hycism-frontend-main-date-input {
    padding: 10px 14px;
    border: 2px solid #bee5eb;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #fff;
    min-width: 150px;
}

.hycism-frontend-main-date-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
}

.hycism-frontend-quick-dates {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.hycism-quick-label {
    font-weight: 600;
    color: #0c5460;
    font-size: 13px;
    white-space: nowrap;
}

.hycism-frontend-quick-date {
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 20px;
    transition: all 0.2s ease;
    border: 1px solid #bee5eb;
    background: #fff;
    color: #0c5460;
}

.hycism-frontend-quick-date:hover {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
    transform: translateY(-1px);
}

.hycism-frontend-quick-date.active {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.3);
}

/* Enhanced Filter Section */
.hycism-filter-section h4 {
    margin: 0 0 15px 0;
    color: #495057;
    font-size: 16px;
    font-weight: 600;
}

.hycism-main-filters-row {
    display: flex;
    gap: 20px;
    align-items: end;
    flex-wrap: wrap;
}

.hycism-filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 150px;
}

.hycism-filter-group label {
    font-weight: 600;
    color: #495057;
    font-size: 13px;
    margin: 0;
}

.hycism-filter-group select {
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 14px;
    background: #fff;
    transition: border-color 0.3s ease;
}

.hycism-filter-group select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.1);
}

.hycism-filter-actions {
    display: flex;
    gap: 10px;
    align-items: end;
    flex-wrap: wrap;
}

/* Responsive Frontend Styles */
@media (max-width: 768px) {
    .hycism-frontend-date-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }
    
    .hycism-frontend-date-selector {
        min-width: unset;
    }
    
    .hycism-frontend-date-input {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .hycism-frontend-quick-dates {
        justify-content: center;
    }
    
    .hycism-main-filters-row {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .hycism-filter-actions {
        justify-content: stretch;
    }
    
    .hycism-filter-actions .hycism-btn {
        flex: 1;
        justify-content: center;
    }
}

/* Professional Button Base Styles */
.hycism-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    user-select: none;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.hycism-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hycism-btn:hover::before {
    opacity: 1;
}

.hycism-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.hycism-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Button Size Variants */
.hycism-btn-sm {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 4px;
}

.hycism-btn-lg {
    padding: 16px 28px;
    font-size: 16px;
    border-radius: 8px;
}

/* Button Color Variants */
.hycism-btn-primary {
    background: linear-gradient(135deg, #007cba 0%, #00a0d2 100%);
    color: #ffffff;
    border: 1px solid #006ba1;
}

.hycism-btn-primary:hover {
    background: linear-gradient(135deg, #005a87 0%, #0073aa 100%);
    border-color: #004b6b;
    color: #ffffff;
}

.hycism-btn-secondary {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #495057;
    border: 1px solid #ced4da;
}

.hycism-btn-secondary:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    border-color: #adb5bd;
    color: #343a40;
}

.hycism-btn-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #ffffff;
    border: 1px solid #1e7e34;
}

.hycism-btn-success:hover {
    background: linear-gradient(135deg, #1e7e34 0%, #17a2b8 100%);
    border-color: #155724;
    color: #ffffff;
}

.hycism-btn-danger {
    background: linear-gradient(135deg, #dc3545 0%, #e74c3c 100%);
    color: #ffffff;
    border: 1px solid #bd2130;
}

.hycism-btn-danger:hover {
    background: linear-gradient(135deg, #c82333 0%, #dc3545 100%);
    border-color: #a71e2a;
    color: #ffffff;
}

.hycism-btn-warning {
    background: linear-gradient(135deg, #ffc107 0%, #ffeb3b 100%);
    color: #212529;
    border: 1px solid #e0a800;
}

.hycism-btn-warning:hover {
    background: linear-gradient(135deg, #e0a800 0%, #fff176 100%);
    border-color: #d39e00;
    color: #212529;
}

/* Disabled State */
.hycism-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hycism-btn:disabled:hover {
    transform: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* WhatsApp Style Button */
.hycism-btn-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #ffffff;
    border: 1px solid #075e54;
}

.hycism-btn-whatsapp:hover {
    background: linear-gradient(135deg, #128c7e 0%, #075e54 100%);
    border-color: #064e45;
    color: #ffffff;
}

/* Export Style Button */
.hycism-btn-export {
    background: linear-gradient(135deg, #6f42c1 0%, #e83e8c 100%);
    color: #ffffff;
    border: 1px solid #59359a;
}

.hycism-btn-export:hover {
    background: linear-gradient(135deg, #59359a 0%, #d91a72 100%);
    border-color: #4c2a85;
    color: #ffffff;
}

/* Admin Interface Styles */
.hycism-next-day-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 25px;
    margin: 25px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.hycism-next-day-section h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hycism-next-day-actions {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
}

.hycism-next-day-info {
    flex: 1;
    min-width: 250px;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid #007cba;
}

.hycism-next-day-info p {
    margin: 5px 0;
    color: #495057;
    font-size: 14px;
}

.hycism-next-day-info strong {
    color: #2c3e50;
    font-weight: 600;
}

.hycism-next-day-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hycism-next-day-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    font-size: 14px;
    line-height: 1.5;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, #007cba 0%, #00a0d2 100%);
    color: #ffffff;
    border: 1px solid #006ba1;
    box-shadow: 0 2px 8px rgba(0, 124, 186, 0.3);
}

.hycism-next-day-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 124, 186, 0.4);
    background: linear-gradient(135deg, #005a87 0%, #0073aa 100%);
}

.hycism-next-day-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 124, 186, 0.3);
}

.hycism-next-day-btn .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.hycism-next-day-result {
    margin-top: 20px;
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid;
    font-weight: 500;
}

.hycism-next-day-result.notice-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-left-color: #28a745;
    color: #155724;
}

.hycism-next-day-result.notice-error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border-left-color: #dc3545;
    color: #721c24;
}

/* Selective Delete Section Styles */
.hycism-selective-delete-section, .hycism-selective-delete-frontend-section {
    background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 100%);
    border: 2px solid #feb2b2;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.1);
}

.hycism-selective-delete-section h3, .hycism-selective-delete-frontend-section h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #c53030;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hycism-selective-delete-controls, .hycism-selective-delete-frontend-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.hycism-selection-info, .hycism-selection-frontend-info {
    flex: 1;
    min-width: 250px;
    font-weight: 500;
    color: #2d3748;
    background: #ffffff;
    padding: 10px 15px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.hycism-selection-actions, .hycism-selection-frontend-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Schedule Item Enhancements */
.schedule-item {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f7fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px;
    margin: 4px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.schedule-item:hover {
    border-color: #cbd5e0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.schedule-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.schedule-checkbox {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #007cba;
}

.teacher-name {
    font-weight: 600;
    color: #2d3748;
    font-size: 14px;
    flex: 1;
}

.batch-info {
    color: #4a5568;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 4px 0;
    padding: 2px 8px;
    background: #edf2f7;
    border-radius: 4px;
}

.subject-info {
    color: #4a5568;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 4px 0;
    padding: 2px 8px;
    background: #f7fafc;
    border-radius: 4px;
    border-left: 3px solid currentColor;
}

.schedule-notes {
    color: #718096;
    font-size: 12px;
    font-style: italic;
    margin: 4px 0;
    padding: 4px 8px;
    background: #f7fafc;
    border-radius: 4px;
}

.schedule-actions {
    display: flex;
    gap: 6px;
    margin-top: 8px;
    justify-content: flex-end;
}

/* Frontend Interface Styles */
.hycism-next-day-frontend-section {
    background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
    border: 1px solid #cbd5e0;
    border-radius: 8px;
    padding: 25px;
    margin: 25px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.hycism-next-day-frontend-section h4 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #2d3748;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.hycism-next-day-frontend-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.hycism-next-day-frontend-info {
    flex: 1;
    min-width: 250px;
    text-align: center;
    background: #ffffff;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.hycism-next-day-frontend-info p {
    margin: 8px 0;
    color: #4a5568;
    font-size: 14px;
}

.hycism-next-day-frontend-info strong {
    color: #2d3748;
    font-weight: 600;
}

.hycism-next-day-frontend-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.hycism-next-day-frontend-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border: 1px solid #5a6cf0;
}

.hycism-next-day-frontend-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5a6cf0 0%, #667eea 100%);
}

.hycism-next-day-frontend-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.hycism-next-day-frontend-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.hycism-next-day-frontend-result {
    margin-top: 20px;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
}

.hycism-next-day-frontend-result.notice-success {
    background: linear-gradient(135deg, #c6f6d5 0%, #9ae6b4 100%);
    border: 1px solid #68d391;
    color: #22543d;
}

.hycism-next-day-frontend-result.notice-error {
    background: linear-gradient(135deg, #fed7d7 0%, #feb2b2 100%);
    border: 1px solid #fc8181;
    color: #742a2a;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hycism-next-day-actions,
    .hycism-next-day-frontend-actions,
    .hycism-selective-delete-controls,
    .hycism-selective-delete-frontend-controls {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .hycism-next-day-buttons,
    .hycism-next-day-frontend-buttons,
    .hycism-selection-actions,
    .hycism-selection-frontend-actions {
        justify-content: center;
        width: 100%;
    }
    
    .hycism-btn,
    .hycism-next-day-btn,
    .hycism-next-day-frontend-btn {
        flex: 1;
        min-width: 140px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hycism-next-day-buttons,
    .hycism-next-day-frontend-buttons,
    .hycism-selection-actions,
    .hycism-selection-frontend-actions {
        flex-direction: column;
    }
    
    .hycism-btn,
    .hycism-next-day-btn,
    .hycism-next-day-frontend-btn {
        width: 100%;
    }
    
    .hycism-next-day-section,
    .hycism-next-day-frontend-section,
    .hycism-selective-delete-section,
    .hycism-selective-delete-frontend-section {
        padding: 15px;
        margin: 15px 0;
    }
}

/* Animation Styles */
@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        padding-top: 0;
        padding-bottom: 0;
    }
    to {
        opacity: 1;
        max-height: 150px;
        padding-top: 20px;
        padding-bottom: 20px;
    }
}

@keyframes slideUp {
    from {
        opacity: 1;
        max-height: 150px;
        padding-top: 20px;
        padding-bottom: 20px;
    }
    to {
        opacity: 0;
        max-height: 0;
        padding-top: 0;
        padding-bottom: 0;
    }
}

.hycism-next-day-result[style*="display: block"],
.hycism-next-day-frontend-result[style*="display: block"] {
    animation: slideDown 0.4s ease;
}

/* Enhanced Loading Spinner */
.spinner-border {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    vertical-align: text-bottom;
    border: 0.125em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border 0.75s linear infinite;
}

.spinner-border-sm {
    width: 0.75rem;
    height: 0.75rem;
    border-width: 0.1em;
}

@keyframes spinner-border {
    to {
        transform: rotate(360deg);
    }
}

/* Delete Day Section Enhanced Styles */
.hycism-delete-day-section, .hycism-delete-day-frontend-section {
    background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 100%);
    border: 2px solid #fc8181;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 4px 12px rgba(220,50,50,.15);
}

.hycism-delete-day-section h3, .hycism-delete-day-frontend-section h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #c53030;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hycism-delete-day-actions, .hycism-delete-day-frontend-actions {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
}

.hycism-delete-day-info, .hycism-delete-day-frontend-info {
    flex: 1;
    min-width: 250px;
    background: #ffffff;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #fc8181;
}

.hycism-delete-day-info p, .hycism-delete-day-frontend-info p {
    margin: 5px 0;
    color: #4a5568;
}

.hycism-delete-day-info strong, .hycism-delete-day-frontend-info strong {
    color: #2d3748;
}

.hycism-delete-day-buttons, .hycism-delete-day-frontend-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.hycism-delete-day-btn, .hycism-delete-day-frontend-btn {
    padding: 12px 20px;
    font-size: 14px;
    line-height: 1.4;
    min-height: 40px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #dc3545 0%, #e74c3c 100%);
    color: #ffffff;
    border: 1px solid #bd2130;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

.hycism-delete-day-btn:hover, .hycism-delete-day-frontend-btn:hover {
    background: linear-gradient(135deg, #c82333 0%, #dc3545 100%);
    border-color: #a71e2a;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

.hycism-delete-day-btn:disabled, .hycism-delete-day-frontend-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

.hycism-delete-day-result, .hycism-delete-day-frontend-result {
    margin-top: 15px;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
}

/* Hover Effects for Interactive Elements */
.schedule-item:hover .schedule-checkbox {
    transform: scale(1.1);
}

.schedule-item.selected {
    border-color: #007cba;
    background: linear-gradient(135deg, #ebf8ff 0%, #bee3f8 100%);
    box-shadow: 0 4px 12px rgba(0, 124, 186, 0.2);
}

/* Responsive adjustments */
@media (max-width: 782px) {
    .hycism-delete-day-actions, .hycism-delete-day-frontend-actions {
        flex-direction: column;
    }
    
    .hycism-delete-day-buttons, .hycism-delete-day-frontend-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .hycism-delete-day-btn, .hycism-delete-day-frontend-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Date Selection for Delete Functionality */
.hycism-delete-day-controls,
.hycism-delete-day-frontend-controls {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.hycism-delete-date-selector,
.hycism-delete-date-frontend-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 15px;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.hycism-delete-date-selector label,
.hycism-delete-date-frontend-selector label {
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    white-space: nowrap;
}

.hycism-delete-date-selector input[type="date"],
.hycism-delete-date-frontend-selector input[type="date"] {
    padding: 8px 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    background: #fff;
}

.hycism-delete-date-selector input[type="date"]:focus,
.hycism-delete-date-frontend-selector input[type="date"]:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

.hycism-delete-day-info,
.hycism-delete-day-frontend-info {
    padding: 15px;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe5e5 100%);
    border: 1px solid #ffcccb;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.1);
}

.hycism-delete-day-info p,
.hycism-delete-day-frontend-info p {
    margin: 8px 0;
}

#delete-schedule-count,
#delete-frontend-schedule-count {
    font-weight: 600;
    font-size: 15px;
    padding: 5px 0;
}

#delete-target-date-display,
#delete-target-frontend-date-display {
    font-weight: 600;
    color: #2c3e50;
}

/* Responsive adjustments for date selection */
@media (max-width: 768px) {
    .hycism-delete-date-selector,
    .hycism-delete-date-frontend-selector {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .hycism-delete-date-selector input[type="date"],
    .hycism-delete-date-frontend-selector input[type="date"] {
        width: 100%;
        max-width: 200px;
    }
}