/* Karma Calendar Plugin Styles */

.karma-calendar-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.karma-calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e1e5e9;
}

.karma-calendar-header h2 {
    margin: 0;
    color: #2c3e50;
    font-size: 28px;
    font-weight: 600;
}

.calendar-navigation {
    display: flex;
    align-items: center;
    gap: 15px;
}

.calendar-navigation button {
    background: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.calendar-navigation button:hover {
    background: #2980b9;
}

.current-month-year {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    min-width: 150px;
    text-align: center;
}

.karma-calendar-grid {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: #f8f9fa;
    border-bottom: 1px solid #e1e5e9;
}

.weekday {
    padding: 15px 10px;
    text-align: center;
    font-weight: 600;
    color: #6c757d;
    font-size: 14px;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.calendar-day {
    min-height: 100px;
    padding: 10px;
    border-right: 1px solid #e1e5e9;
    border-bottom: 1px solid #e1e5e9;
    position: relative;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.calendar-day:hover {
    background: #f8f9fa;
}

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

.calendar-day.today {
    background: #e3f2fd;
    border: 2px solid #2196f3;
}

.calendar-day.has-task {
    background: #fff3cd;
}

.calendar-day.has-task.compliance {
    background: #d4edda;
}

.calendar-day.has-task.education {
    background: #cce5ff;
}

.calendar-day.has-task.maintenance {
    background: #f8d7da;
}

.day-number {
    font-weight: 600;
    margin-bottom: 5px;
    color: #2c3e50;
}

.task-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin: 2px;
    display: inline-block;
}

.task-indicator.compliance {
    background: #28a745;
}

.task-indicator.education {
    background: #007bff;
}

.task-indicator.maintenance {
    background: #dc3545;
}

.karma-calendar-legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #6c757d;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

.legend-color.compliance {
    background: #28a745;
}

.legend-color.education {
    background: #007bff;
}

.legend-color.maintenance {
    background: #dc3545;
}

.karma-calendar-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #6c757d;
}

.close:hover {
    color: #2c3e50;
}

/* Dashboard Styles */
.karma-dashboard-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.dashboard-header {
    text-align: center;
    margin-bottom: 40px;
}

.dashboard-header h2 {
    color: #2c3e50;
    font-size: 32px;
    margin-bottom: 10px;
}

.dashboard-header p {
    color: #6c757d;
    font-size: 16px;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #3498db;
    margin-bottom: 8px;
}

.stat-label {
    color: #6c757d;
    font-size: 14px;
    font-weight: 500;
}

.dashboard-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.upcoming-tasks, .recent-activity {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.upcoming-tasks h3, .recent-activity h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 20px;
}

.dashboard-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #3498db;
    color: white;
}

.btn-primary:hover {
    background: #2980b9;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
}

/* Quotes Styles */
.karma-quotes-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.quote-header {
    text-align: center;
    margin-bottom: 30px;
}

.quote-header h2 {
    color: #2c3e50;
    font-size: 28px;
    margin-bottom: 10px;
}

.quote-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.quote-content blockquote {
    font-size: 24px;
    font-style: italic;
    color: #2c3e50;
    margin: 0 0 20px 0;
    line-height: 1.6;
}

.quote-author {
    text-align: right;
    margin-bottom: 10px;
}

.quote-author cite {
    font-size: 18px;
    font-weight: 600;
    color: #3498db;
    font-style: normal;
}

.quote-source {
    display: block;
    font-size: 14px;
    color: #6c757d;
    margin-top: 5px;
}

.quote-date {
    text-align: center;
    color: #6c757d;
    font-size: 14px;
}

.quote-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .karma-calendar-header {
        flex-direction: column;
        gap: 20px;
    }
    
    .dashboard-content {
        grid-template-columns: 1fr;
    }
    
    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dashboard-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .quote-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .calendar-day {
        min-height: 80px;
        padding: 8px;
    }
    
    .day-number {
        font-size: 14px;
    }
}

.page.page-id-188 .woocommerce.woocommerce-order {
    color: #fff !important;
}

.karma-calendar-login-prompt {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.login-prompt-container {
    max-width: 600px;
    width: 100%;
    background: #ffffff;
    border-radius: 16px;
    padding: 50px 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.login-prompt-icon {
    margin: 0 auto 30px;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.login-prompt-icon svg {
    width: 40px;
    height: 40px;
}

.login-prompt-title {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 15px;
    line-height: 1.2;
}

.login-prompt-message {
    font-size: 16px;
    color: #7f8c8d;
    line-height: 1.6;
    margin: 0 0 35px;
}

.login-prompt-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.login-prompt-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.login-prompt-button-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.login-prompt-button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
    color: #ffffff;
}

.login-prompt-button-secondary {
    background: #ffffff;
    color: #667eea;
    border-color: #667eea;
}

.login-prompt-button-secondary:hover {
    background: #667eea;
    color: #ffffff;
    transform: translateY(-2px);
}

.login-prompt-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 25px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #e8ecef;
}

.login-prompt-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: #5a6c7d;
}

.login-prompt-feature svg {
    color: #667eea;
    flex-shrink: 0;
}

.login-prompt-feature span {
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .login-prompt-container {
        padding: 40px 30px;
    }
    
    .login-prompt-title {
        font-size: 26px;
    }
    
    .login-prompt-actions {
        flex-direction: column;
    }
    
    .login-prompt-button {
        width: 100%;
        justify-content: center;
    }
    
    .login-prompt-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}