/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
    padding-bottom: 56px;
}

/* App Container */
.app-container {
    display: flex;
    min-height: 100vh;
    background: #f8f9fa;
}

/* Sidebar */
.sidebar {
    width: 280px;
    background: linear-gradient(180deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 20px;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.sidebar-header h2 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-align: center;
    color: #ecf0f1;
}

.sidebar-header i {
    margin-right: 10px;
    color: #3498db;
}

.year-selector {
    margin-bottom: 30px;
}

.year-selector label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #bdc3c7;
}

.year-selector select {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 8px;
    background: #34495e;
    color: white;
    font-size: 14px;
    cursor: pointer;
}

.month-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.month-item {
    padding: 12px 16px;
    background: #34495e;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
}

.month-item:hover {
    background: #2c3e50;
    transform: translateX(5px);
}

.month-item.active {
    background: #3498db;
    color: white;
}

.month-item.active::after {
    content: '✓';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: bold;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 280px;
    padding: 20px;
    background: #f8f9fa;
}

.header {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.header-top {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 10px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.user-welcome {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6c757d;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.user-welcome:hover {
    color: #3498db;
    text-decoration: none;
}

.user-welcome i {
    font-size: 1.1rem;
}

.logout-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #dc3545;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
    margin-left: 20px;
}

.logout-btn:hover {
    color: #c82333;
    text-decoration: none;
}

.logout-btn i {
    font-size: 1rem;
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.header h1 {
    font-size: 1.35rem;
    color: #2c3e50;
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
}

.btn-outline-danger {
    background: #dc3545;
    color: white;
    border: 1px solid #dc3545;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 12.5px;
    transition: all 0.3s ease;
}

.btn-outline-danger:hover {
    background: #c82333;
    color: white;
    text-decoration: none;
}

#backupRestore {
    background: #111111;
    border-color: #111111;
    color: white;
}

#backupRestore:hover {
    background: #000000;
    border-color: #000000;
    color: white;
}

.btn-outline-secondary {
    background: transparent;
    color: #6c757d;
    border: 1px solid #6c757d;
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
    background: #6c757d;
    color: white;
    text-decoration: none;
}

/* Calendar lock button */
.lock-btn {
    background: none;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 4px 8px;
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.lock-btn.lock-open { color: #6c757d; }
.lock-btn.lock-open:hover { color: #2c3e50; border-color: #999; }
.lock-btn.lock-locked { color: #dc3545; border-color: #dc3545; }
.lock-btn.lock-locked:hover { background: #fef0f0; }
.lock-btn.lock-owner { color: #dc3545; border-color: #dc3545; }
.lock-btn.lock-owner:hover { background: #fef0f0; }

.header-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-left: auto;
    justify-content: flex-end;
}

/* Buttons */
.btn {
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    font-size: 12.5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: white;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.app-switch-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.home-shortcut {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    border: 1px solid #ced4da;
    background: #ffffff;
    color: #2c3e50;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn.lock-disabled-btn,
.btn:disabled {
    background: #d9dde2 !important;
    border-color: #d9dde2 !important;
    color: #7b8490 !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    opacity: 1 !important;
}

.btn.lock-disabled-btn:hover,
.btn:disabled:hover {
    background: #d9dde2 !important;
    border-color: #d9dde2 !important;
    color: #7b8490 !important;
    transform: none !important;
    box-shadow: none !important;
}

.home-shortcut:hover {
    background: #f3f4f6;
    color: #111827;
    text-decoration: none;
}

.site-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000000;
    color: #cfd4da;
    padding: 12px 10px;
    text-align: center;
    font-size: 0.9rem;
    border-top: 1px solid #2b2f36;
    z-index: 100;
}

.btn-primary {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.btn-danger {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.btn-warning {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

.btn-success {
    background: linear-gradient(135deg, #27ae60, #229954);
}

.btn-secondary {
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
}

.btn-info {
    background: linear-gradient(135deg, #17a2b8, #138496);
}

/* Calendar Navigation - hidden; sidebar handles month switching */
.calendar-navigation {
    display: none;
}

.nav-btn {
    background: #3498db;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background: #2980b9;
    transform: scale(1.1);
}

#calendarTitle {
    font-size: 1.5rem;
    color: #2c3e50;
    font-weight: 600;
}

/* Calendar Container */
.calendar-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.calendar-header {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    background: #34495e;
    color: white;
    font-weight: 600;
    width: 100%;
}

.calendar-header > div {
    padding: 15px;
    text-align: center;
    border-right: 1px solid #2c3e50;
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

.calendar-header > div:last-child {
    border-right: none;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    min-height: 600px;
    width: 100%;
}

.calendar-day {
    border: 1px solid #e9ecef;
    padding: 10px;
    min-height: 120px;
    height: auto;
    position: relative;
    background: white;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

/* Disabled hover effect to prevent blinking */
/* .calendar-day:hover {
    background: #f8f9fa;
    transform: scale(1.02);
} */

.calendar-day.drag-over {
    background: #e3f2fd !important;
    border-color: #2196f3 !important;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.calendar-day.today {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-color: #2196f3;
}

.calendar-day.other-month {
    background: #f8f9fa;
    color: #adb5bd;
}

.day-number {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    margin-bottom: 5px;
    padding: 2px;
}

.day-number-icon {
    margin-left: 5px;
    color: #28a745;
    font-size: 14px;
}

.day-buttons {
    display: flex;
    gap: 2px;
}

/* Add buttons */
.add-activity-btn {
    background: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 5px;
    transition: background-color 0.3s;
}

.add-activity-btn:hover {
    background: #0056b3;
}

.add-day-property-btn {
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 5px;
    transition: background-color 0.3s;
}

.add-day-property-btn:hover {
    background: #5a6268;
}

/* Day property indicators */
.day-property {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    padding: 2px 6px;
    background: #f8f9fa;
    border-radius: 3px;
    font-size: 11px;
    color: #495057;
}

.day-property-icon {
    margin-right: 4px;
    font-size: 12px;
}

.day-property.resident-shopping {
    background: #e8f5e8;
    border-left: 3px solid #28a745;
}

.day-property.fun-buck-auction {
    background: #fff3cd;
    border-left: 3px solid #ffc107;
}

.day-property.resident-birthday-celebration {
    background: #f8d7da;
    border-left: 3px solid #dc3545;
}

.activities-list {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: #bdc3c7 #f8f9fa;
    min-height: 60px;
    width: 100%;
    min-width: 0;
}

.activities-list::-webkit-scrollbar {
    width: 4px;
}

.activities-list::-webkit-scrollbar-track {
    background: #f8f9fa;
}

.activities-list::-webkit-scrollbar-thumb {
    background: #bdc3c7;
    border-radius: 2px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 8px;
    margin-bottom: 4px;
    background: #f8f9fa;
    border-radius: 4px;
    font-size: 11px;
    cursor: grab;
    transition: all 0.3s ease;
    border-left: 3px solid #3498db;
    user-select: none;
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

.activity-item:active {
    cursor: grabbing;
}

/* Disabled hover effect to prevent blinking */
/* .activity-item:hover {
    background: #e3f2fd;
    transform: translateX(2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
} */

.activity-item:active {
    transform: scale(0.98);
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.activity-item.activity-room {
    border-left-color: #27ae60;
    background: #e8f5e8;
}

.activity-item.activities-office {
    border-left-color: #3498db;
    background: #e3f2fd;
}

.activity-item.weather-permitting {
    border-left-color: #f39c12;
    background: #fff3e0;
}

.activity-item.courtyard-dining {
    border-left-color: #9b59b6;
    background: #f3e5f5;
}

.activity-item.signup-required {
    border-left-color: #e74c3c;
    background: #ffebee;
}

/* Outdoors key color */
.activity-item.outdoors {
  border-left: 6px solid #20b2aa;
  background: #e0f7fa;
}
.key-legend .legend-dot.outdoors {
  background: #20b2aa;
}

.activity-item.outing {
    border-left-color: #e67e22;
    background: #fef9e7;
}

/* Sports team keys */
.activity-item[class*="sports-"] {
  border-left-width: 6px;
}
/* Mariners and Sounders keep existing colors */
.activity-item.sports-mariners { border-left-color: #0C2C56; background: #e9eff6; }
.activity-item.sports-sounders { border-left-color: #338f3e; background: #eef7ea; }
/* Brighten the rest for better distinction */
.activity-item.sports-seahawks { border-left-color: #4475a1; background: #FFE5E3; }
.activity-item.sports-kraken { border-left-color: #c5102e; background: #E6FFFB; }
.activity-item.sports-storm { border-left-color: #F9D71C; background: #FFF8CC; }
.activity-item.sports-reign { border-left-color: #6A1B9A; background: #F3E5F5; }

.key-legend .legend-dot.sports-mariners { background: #0C2C56; }
.key-legend .legend-dot.sports-sounders { background: #338f3e; }
.key-legend .legend-dot.sports-seahawks { background: #4475a1; }
.key-legend .legend-dot.sports-kraken { background: #c5102e; }
.key-legend .legend-dot.sports-storm { background: #F9D71C; }
.key-legend .legend-dot.sports-reign { background: #6A1B9A; }
.key-legend .legend-dot.sports-huskies { background: #4b2e83; }

/* AL Dining key color */
.activity-item.al-dining {
  border-left: 6px solid #ffd600;
  background: #fffde7;
}
.key-legend .legend-dot.al-dining {
  background: #ffd600;
}

/* P.A Dining Room key color */
.activity-item.pa-dining-room {
  border-left: 6px solid #e75480;
  background: #ffe4ef;
}
.key-legend .legend-dot.pa-dining-room {
  background: #e75480;
}

/* Key Legend Styles */
.key-legend {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 20px;
    margin-top: 20px;
}

.key-legend h3 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.legend-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 6px;
    font-size: 14px;
    color: #2c3e50;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.legend-dot.activity-room {
    background: #27ae60;
}

.legend-dot.activities-office {
    background: #3498db;
}

.legend-dot.weather-permitting {
    background: #f39c12;
}

.legend-dot.courtyard-dining {
    background: #9b59b6;
}

.legend-dot.signup-required {
    background: #e74c3c;
}

.legend-dot.outdoors {
    background: #2ecc71;
}

.legend-dot.outing {
    background: #e67e22;
}

.activity-time {
    font-weight: 600;
    color: #2c3e50;
    min-width: 45px;
}

.activity-title {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.activity-checkbox {
    width: 12px;
    height: 12px;
    border: 2px solid #bdc3c7;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.activity-checkbox.checked {
    background: #27ae60;
    border-color: #27ae60;
}

.activity-actions {
    display: flex;
    gap: 4px;
    align-items: center;
}

.activity-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px;
    border-radius: 3px;
    color: #6c757d;
    font-size: 10px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
}

.activity-btn:hover {
    background: #e9ecef;
    color: #495057;
}

.duplicate-btn:hover {
    color: #007bff;
}

.delete-btn:hover {
    color: #dc3545;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 750px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    color: #2c3e50;
    font-size: 1.3rem;
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #e74c3c;
}

.modal-body {
    padding: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .header-main {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .header h1 {
        text-align: center;
        font-size: 1.5rem;
    }
    
    .header-actions {
        justify-content: center;
        flex-direction: column;
        gap: 10px;
    }
    
    .header-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .calendar-day {
        min-height: 100px;
    }
    
    .activities-list {
        min-height: 40px;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .copy-sections-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .copy-section {
        flex: none;
    }
}

/* PDF Export Styles */
.pdf-container {
    background: white;
    padding: 20px;
    max-width: 11in;
    margin: 0 auto;
}

.pdf-header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 2px solid #2c3e50;
    padding-bottom: 20px;
}

.pdf-calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: #2c3e50;
    border: 2px solid #2c3e50;
}

.pdf-day {
    background: white;
    padding: 8px;
    min-height: 100px;
    border: 1px solid #e9ecef;
}

.pdf-day-header {
    font-weight: bold;
    text-align: center;
    margin-bottom: 8px;
    color: #2c3e50;
}

.pdf-activity {
    font-size: 10px;
    margin-bottom: 4px;
    padding: 2px 4px;
    background: #f8f9fa;
    border-radius: 2px;
    border-left: 2px solid #3498db;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success/Error Messages */
.message {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 1001;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.message.success {
    background: #27ae60;
}

.message.error {
    background: #e74c3c;
}

.message.warning {
    background: #f39c12;
} 

/* Activity type indicators */
.signup-indicator {
    color: #ff6b35;
    font-size: 16px;
    margin-left: 4px;
    font-weight: bold;
}

.featured-indicator {
    color: #ffd700;
    font-size: 12px;
    margin-left: 4px;
    filter: drop-shadow(0 0 2px rgba(255, 215, 0, 0.5));
}

.important-indicator {
    color: #ff4444;
    font-size: 12px;
    margin-left: 4px;
    font-weight: bold;
}

/* Important activity styling */
.activity-item.important .activity-title {
    color: #ff4444 !important;
    font-weight: bold !important;
} 

/* Birthday settings styling */
#settingsModal textarea {
    width: 100%;
    padding: 6px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 11px;
    resize: vertical;
    min-height: 60px;
}

#settingsModal textarea:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

/* Birthday Section */
.birthday-section {
    margin-top: 20px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.birthday-section h3 {
    margin-bottom: 15px;
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
}

.birthday-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #ecf0f1;
}

.birthday-item:last-child {
    border-bottom: none;
}

.birthday-icon {
    margin-right: 10px;
    font-size: 16px;
}

.birthday-name {
    font-size: 14px;
    color: #2c3e50;
    font-weight: 500;
}

.no-birthdays {
    color: #7f8c8d;
    font-style: italic;
    text-align: center;
    padding: 20px;
}

/* Profile Modal Styles */
.profile-section {
    margin-bottom: 25px;
    padding: 20px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background: #f8f9fa;
}

.profile-section h4 {
    color: #495057;
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.profile-section h4 i {
    color: #3498db;
}

#profileMessage {
    margin-bottom: 20px;
    padding: 12px;
    border-radius: 5px;
    font-weight: 500;
}

#profileMessage.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

#profileMessage.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Copy Calendar Modal Styles */
.copy-sections-container {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.copy-section {
    flex: 1;
    padding: 20px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background: #f8f9fa;
}

.copy-section h4 {
    color: #495057;
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.copy-section h4 i {
    color: #3498db;
}

.copy-options {
    margin-bottom: 25px;
    padding: 20px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background: #f8f9fa;
}

.copy-options h4 {
    color: #495057;
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.copy-options h4 i {
    color: #6c757d;
}

.copy-options .form-group {
    margin-bottom: 10px;
}

.copy-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 500;
    color: #495057;
}

.copy-options input[type="checkbox"] {
    margin: 0;
    width: auto;
}

#copyCalendarMessage {
    margin-bottom: 20px;
    padding: 12px;
    border-radius: 5px;
    font-weight: 500;
}

#copyCalendarMessage.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

#copyCalendarMessage.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

 