:root { --primary-color: #4361ee; --secondary-color: #3f37c9; --accent-color: #4895ef; --light-color: #f8f9fa; --dark-color: #212529; --success-color: #4cc9f0; --warning-color: #f8961e; --danger-color: #f72585; --holiday-color: #f72585; --school-color: #7209b7; --study-color: #38b000; --bg-color: #f5f7fa; --card-bg: #ffffff; --text-color: #212529; --text-muted: #6c757d; --border-color: #dee2e6; } .dark-mode { --primary-color: #4895ef; --secondary-color: #4361ee; --accent-color: #3f37c9; --light-color: #343a40; --dark-color: #f8f9fa; --bg-color: #121212; --card-bg: #1e1e1e; --text-color: #f8f9fa; --text-muted: #adb5bd; --border-color: #343a40; --holiday-color: #ff6b6b; --school-color: #9d4edd; --study-color: #70e000; } * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; } body { background-color: var(--bg-color); color: var(--text-color); line-height: 1.6; transition: all 0.3s ease; } .container { max-width: 1400px; margin: 2rem auto; padding: 0 20px; } .header { text-align: center; margin-bottom: 2rem; position: relative; } .header h1 { color: var(--primary-color); font-size: 2.5rem; margin-bottom: 0.5rem; } .header p { color: var(--text-muted); font-size: 1.1rem; } .world-clock { position: absolute; right: 0; top: 0; background: var(--card-bg); padding: 0.5rem 1rem; border-radius: 5px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); display: flex; align-items: center; gap: 10px; } .world-clock select { border: 1px solid var(--border-color); padding: 0.3rem; border-radius: 4px; background: var(--card-bg); color: var(--text-color); } .current-time { font-weight: 500; font-size: 1.1rem; } .schedule-container { background: var(--card-bg); border-radius: 10px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); overflow: hidden; margin-bottom: 2rem; transition: all 0.3s ease; } .schedule-header { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem; background-color: var(--primary-color); color: white; } .schedule-nav { display: flex; gap: 1rem; } .schedule-nav button { background: rgba(255, 255, 255, 0.2); border: none; color: white; padding: 0.5rem 1rem; border-radius: 5px; cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; gap: 5px; } .schedule-nav button:hover { background: rgba(255, 255, 255, 0.3); } .schedule-week { display: flex; border-bottom: 1px solid var(--border-color); } .schedule-day { flex: 1; text-align: center; padding: 1rem 0; font-weight: 600; color: var(--text-color); cursor: pointer; transition: all 0.2s ease; position: relative; } .schedule-day:hover { background-color: rgba(0,0,0,0.02); } .schedule-day.today { color: var(--primary-color); } .schedule-day.holiday { color: var(--holiday-color); } .schedule-day.today::after { content: ''; position: absolute; bottom: -1px; left: 50%; transform: translateX(-50%); width: 50%; height: 3px; background-color: var(--primary-color); } .weather-icon { width: 30px; height: 30px; margin: 5px auto; display: block; } .schedule-grid { display: grid; grid-template-columns: 100px repeat(7, 1fr); } .time-slot { padding: 1rem; border-right: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); text-align: center; font-size: 0.9rem; color: var(--text-muted); } .schedule-slot { padding: 0.5rem; border-right: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); min-height: 80px; position: relative; } .event { background-color: var(--accent-color); color: white; padding: 0.5rem; border-radius: 5px; margin-bottom: 0.25rem; font-size: 0.85rem; cursor: pointer; transition: all 0.2s ease; overflow: hidden; position: relative; } .event:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 3px 8px rgba(0,0,0,0.1); } .event.meeting { background-color: var(--primary-color); } .event.work { background-color: var(--success-color); } .event.break { background-color: var(--warning-color); } .event.personal { background-color: var(--danger-color); } .event.reminder { background-color: #7209b7; } .event.holiday { background-color: var(--holiday-color); } .event.school { background-color: var(--school-color); } .event.study { background-color: var(--study-color); } .event-title { font-weight: 600; margin-bottom: 0.2rem; display: flex; justify-content: space-between; } .event-time { font-size: 0.75rem; opacity: 0.9; } .event-actions { position: absolute; top: 5px; right: 5px; display: none; } .event:hover .event-actions { display: flex; gap: 3px; } .event-actions button { background: rgba(255,255,255,0.2); border: none; color: white; width: 20px; height: 20px; border-radius: 3px; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 0.7rem; } .event-actions button:hover { background: rgba(255,255,255,0.3); } .add-event { position: absolute; bottom: 0.5rem; right: 0.5rem; background: rgba(0, 0, 0, 0.05); border: none; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--text-muted); transition: all 0.2s ease; } .add-event:hover { background: rgba(0, 0, 0, 0.1); color: var(--text-color); } .modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.5); z-index: 1000; justify-content: center; align-items: center; } .modal-content { background-color: var(--card-bg); padding: 2rem; border-radius: 10px; width: 90%; max-width: 500px; box-shadow: 0 5px 15px rgba(0,0,0,0.2); max-height: 90vh; overflow-y: auto; } .modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; position: sticky; top: 0; background: var(--card-bg); padding: 1rem 0; z-index: 1; } .modal-header h3 { color: var(--primary-color); } .close-modal { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text-muted); } .form-group { margin-bottom: 1rem; } .form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; } .form-group input, .form-group select, .form-group textarea { width: 100%; padding: 0.75rem; border: 1px solid var(--border-color); border-radius: 5px; font-size: 1rem; background: var(--card-bg); color: var(--text-color); } .form-group textarea { min-height: 100px; resize: vertical; } .form-actions { display: flex; justify-content: flex-end; gap: 1rem; margin-top: 1.5rem; position: sticky; bottom: 0; background: var(--card-bg); padding: 1rem 0; } .btn { padding: 0.75rem 1.5rem; border: none; border-radius: 5px; cursor: pointer; font-weight: 500; transition: all 0.2s ease; } .btn-primary { background-color: var(--primary-color); color: white; } .btn-primary:hover { background-color: var(--secondary-color); } .btn-secondary { background-color: var(--text-muted); color: white; } .btn-secondary:hover { background-color: #5a6268; } .event-category { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1rem; } .category-option { flex: 1 0 calc(33% - 10px); text-align: center; padding: 0.5rem; border: 1px solid var(--border-color); border-radius: 5px; cursor: pointer; transition: all 0.2s ease; background: var(--card-bg); margin-bottom: 0.5rem; } .category-option:hover { background-color: var(--light-color); } .category-option.selected { border-color: var(--primary-color); background-color: rgba(67, 97, 238, 0.1); } .category-option.meeting { border-left: 3px solid var(--primary-color); } .category-option.work { border-left: 3px solid var(--success-color); } .category-option.break { border-left: 3px solid var(--warning-color); } .category-option.personal { border-left: 3px solid var(--danger-color); } .category-option.reminder { border-left: 3px solid #7209b7; } .category-option.holiday { border-left: 3px solid var(--holiday-color); } .category-option.school { border-left: 3px solid var(--school-color); } .category-option.study { border-left: 3px solid var(--study-color); } .stats-container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-bottom: 2rem; } .stat-card { background: var(--card-bg); border-radius: 10px; padding: 1.5rem; box-shadow: 0 4px 10px rgba(0,0,0,0.05); display: flex; align-items: center; gap: 1rem; transition: all 0.3s ease; } .stat-icon { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: white; } .stat-icon.meetings { background-color: var(--primary-color); } .stat-icon.work { background-color: var(--success-color); } .stat-icon.personal { background-color: var(--danger-color); } .stat-icon.reminders { background-color: #7209b7; } .stat-icon.holidays { background-color: var(--holiday-color); } .stat-icon.school { background-color: var(--school-color); } .stat-icon.study { background-color: var(--study-color); } .stat-info h3 { font-size: 1.5rem; margin-bottom: 0.2rem; } .stat-info p { color: var(--text-muted); font-size: 0.9rem; } .quick-actions { display: flex; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; } .quick-action-btn { flex: 1 0 calc(20% - 10px); min-width: 150px; background: var(--card-bg); border: none; border-radius: 8px; padding: 1rem; display: flex; align-items: center; justify-content: center; gap: 0.5rem; cursor: pointer; transition: all 0.2s ease; box-shadow: 0 2px 5px rgba(0,0,0,0.05); font-weight: 500; color: var(--text-color); } .quick-action-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.1); } .quick-action-btn i { font-size: 1.2rem; } /* Image search modal */ .image-search-container { margin-top: 1rem; border-top: 1px solid var(--border-color); padding-top: 1rem; } .image-search-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; margin-top: 1rem; max-height: 200px; overflow-y: auto; } .image-result { width: 100%; height: 80px; object-fit: cover; cursor: pointer; border-radius: 4px; transition: transform 0.2s; } .image-result:hover { transform: scale(1.05); } .selected-image { margin-top: 1rem; max-width: 100%; max-height: 150px; display: none; border-radius: 5px; } /* Weather display */ .weather-display { font-size: 0.8rem; margin-top: 0.5rem; } .weather-temp { font-weight: bold; } /* Event details modal */ .event-details { margin-top: 1rem; } .event-detail-item { margin-bottom: 0.5rem; } .event-detail-label { font-weight: 600; color: var(--primary-color); } .event-image { max-width: 100%; max-height: 200px; margin: 1rem 0; border-radius: 5px; display: none; } /* Notification */ .notification { position: fixed; top: 20px; right: 20px; padding: 1rem; border-radius: 5px; color: white; background-color: var(--primary-color); box-shadow: 0 3px 10px rgba(0,0,0,0.2); transform: translateX(200%); transition: transform 0.3s ease; z-index: 2000; display: flex; align-items: center; gap: 10px; } .notification.show { transform: translateX(0); } .notification.success { background-color: var(--success-color); } .notification.error { background-color: var(--danger-color); } .notification.warning { background-color: var(--warning-color); } /* Theme selector */ .theme-selector { position: fixed; bottom: 20px; right: 20px; z-index: 100; } .theme-btn { width: 50px; height: 50px; border-radius: 50%; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; box-shadow: 0 3px 10px rgba(0,0,0,0.2); background: var(--primary-color); color: white; } .theme-options { position: absolute; bottom: 60px; right: 0; background: var(--card-bg); border-radius: 10px; padding: 1rem; box-shadow: 0 3px 10px rgba(0,0,0,0.2); display: none; flex-direction: column; gap: 0.5rem; min-width: 150px; } .theme-options.show { display: flex; } .theme-option { padding: 0.5rem; border-radius: 5px; cursor: pointer; transition: all 0.2s ease; } .theme-option:hover { background: var(--light-color); } /* Date picker */ .flatpickr-input { background: var(--card-bg) !important; color: var(--text-color) !important; border: 1px solid var(--border-color) !important; } /* Holiday styling */ .holiday-mark { position: absolute; top: 5px; right: 5px; font-size: 0.7rem; color: var(--holiday-color); font-weight: bold; } /* Music player */ .music-player { position: fixed; bottom: 20px; left: 20px; background: var(--card-bg); padding: 0.5rem 1rem; border-radius: 50px; box-shadow: 0 3px 10px rgba(0,0,0,0.2); display: flex; align-items: center; gap: 10px; z-index: 100; } .music-control { background: none; border: none; color: var(--primary-color); font-size: 1.2rem; cursor: pointer; } .music-info { font-size: 0.8rem; margin-right: 10px; } /* Gif search */ .gif-search-container { margin-top: 1rem; } .gif-search-results { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; margin-top: 1rem; max-height: 200px; overflow-y: auto; } .gif-result { width: 100%; height: 100px; object-fit: cover; cursor: pointer; border-radius: 4px; } /* Iframe popup */ .iframe-popup { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); z-index: 2000; display: none; justify-content: center; align-items: center; } .iframe-container { width: 90%; height: 90%; background: var(--card-bg); border-radius: 10px; overflow: hidden; position: relative; } .iframe-close { position: absolute; top: 10px; right: 10px; background: var(--danger-color); color: white; border: none; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 2; } .iframe-content { width: 100%; height: 100%; border: none; } /* API key input with copy */ .input-with-copy { display: flex; gap: 5px; margin-top: 5px; } .input-with-copy input { flex: 1; } .copy-btn { background: var(--primary-color); color: white; border: none; padding: 0 10px; border-radius: 4px; cursor: pointer; display: flex; align-items: center; justify-content: center; } .copy-btn:hover { background: var(--secondary-color); } /* Schedule type selector */ .schedule-type-selector { display: flex; margin-bottom: 1rem; border-bottom: 1px solid var(--border-color); } .schedule-type-btn { flex: 1; padding: 0.5rem; text-align: center; cursor: pointer; border-bottom: 3px solid transparent; } .schedule-type-btn.active { border-bottom-color: var(--primary-color); font-weight: bold; } /* Responsive styles */ @media (max-width: 768px) { .container { margin: 1rem auto; padding: 0 10px; } .header { padding-top: 2rem; } .header h1 { font-size: 1.8rem; } .header p { font-size: 0.9rem; } .world-clock { position: static; margin: 0.5rem auto; padding: 0.3rem 0.5rem; width: fit-content; } .current-time { font-size: 0.9rem; } .world-clock select { padding: 0.2rem; font-size: 0.8rem; } .schedule-header { padding: 1rem; flex-direction: column; gap: 0.5rem; } .schedule-nav { width: 100%; justify-content: space-between; } .schedule-nav button { padding: 0.3rem 0.5rem; font-size: 0.8rem; } .schedule-week { font-size: 0.8rem; } .schedule-day { padding: 0.5rem 0; } .weather-icon { width: 20px; height: 20px; } .schedule-grid { grid-template-columns: 50px repeat(7, 1fr); font-size: 0.7rem; } .time-slot { padding: 0.3rem; font-size: 0.7rem; } .schedule-slot { min-height: 60px; padding: 0.2rem; } .event { font-size: 0.6rem; padding: 0.2rem; margin-bottom: 0.1rem; } .event-title { font-size: 0.65rem; } .event-time { font-size: 0.6rem; } .add-event { width: 18px; height: 18px; font-size: 0.7rem; } .stats-container { grid-template-columns: 1fr 1fr; gap: 0.8rem; } .stat-card { padding: 1rem; } .stat-icon { width: 40px; height: 40px; font-size: 1.2rem; } .stat-info h3 { font-size: 1.2rem; } .stat-info p { font-size: 0.8rem; } .quick-actions { flex-direction: row; gap: 0.5rem; } .quick-action-btn { padding: 0.7rem; font-size: 0.8rem; min-width: 120px; } .modal-content { padding: 1rem; width: 95%; } .form-group input, .form-group select, .form-group textarea { padding: 0.5rem; font-size: 0.9rem; } .btn { padding: 0.5rem 1rem; font-size: 0.8rem; } .event-category { flex-wrap: wrap; } .category-option { flex: 1 0 calc(50% - 10px); font-size: 0.8rem; padding: 0.3rem; } .image-search-results { grid-template-columns: repeat(2, 1fr); max-height: 150px; } .image-result { height: 60px; } .theme-btn { width: 40px; height: 40px; font-size: 1.2rem; } .theme-options { min-width: 120px; padding: 0.5rem; } .holiday-mark { font-size: 0.6rem; } .music-player { bottom: 80px; left: 10px; padding: 0.3rem 0.8rem; } .music-info { display: none; } } @media (max-width: 480px) { .schedule-grid { grid-template-columns: 40px repeat(7, 1fr); } .time-slot { padding: 0.2rem; font-size: 0.6rem; } .schedule-slot { min-height: 50px; } .event { font-size: 0.55rem; } .event-title { flex-direction: column; gap: 0.1rem; } .category-option { flex: 1 0 100%; } .stats-container { grid-template-columns: 1fr; } .quick-action-btn { flex: 1 0 100%; } }