/* CPE Hours Manager Frontend Styles - Clean Minimalist Design - Unique Classes */

/* Automated Reports Frontend Styles */
.cpe-automated-reports {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin: 0 auto;
    max-width: 1000px;
}

.cpe-automated-reports h2 {
    color: #1a202c;
    margin-bottom: 30px;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.cpe-report-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    border-bottom: 2px solid #e2e8f0;
}

.cpe-tab-button {
    background: none;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #718096;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.cpe-tab-button:hover {
    color: #4a5568;
}

.cpe-tab-button.active {
    color: #667eea;
    border-bottom-color: #667eea;
}

.cpe-tab-content {
    display: none;
}

.cpe-tab-content.active {
    display: block;
}

.cpe-report-section {
    margin-bottom: 40px;
}

.cpe-report-section h3 {
    color: #2d3748;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 15px 0;
}

.cpe-report-section p {
    color: #718096;
    margin: 0 0 25px 0;
    line-height: 1.6;
}

.cpe-report-filters {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.cpe-report-filters label {
    font-weight: 600;
    color: #4a5568;
    min-width: 120px;
}

.cpe-report-filters select {
    padding: 10px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    min-width: 200px;
}

.cpe-button {
    background: #667eea;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cpe-button:hover {
    background: #5a67d8;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.cpe-button:disabled {
    background: #cbd5e0;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Report Summary Styles */
.cpe-report-summary {
    background: #f7fafc;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.cpe-report-summary h4 {
    color: #2d3748;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 20px 0;
    text-align: center;
}

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

.summary-stat {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.summary-stat strong {
    display: block;
    color: #4a5568;
    font-size: 0.9rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.summary-stat:not(strong) {
    color: #2d3748;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Compliance Summary */
.cpe-compliance-summary {
    background: white;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
    border: 1px solid #e2e8f0;
}

.cpe-compliance-summary h5 {
    color: #2d3748;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 20px 0;
    text-align: center;
}

.compliance-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.compliance-stat {
    padding: 15px;
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
}

.compliance-stat.compliant {
    background: #c6f6d5;
    color: #22543d;
    border: 1px solid #9ae6b4;
}

.compliance-stat.pending {
    background: #fef5e7;
    color: #744210;
    border: 1px solid #fbd38d;
}

.compliance-stat.non-compliant {
    background: #fed7d7;
    color: #742a2a;
    border: 1px solid #feb2b2;
}

/* Tables */
.cpe-members-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.cpe-members-table th {
    background: #f7fafc;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: #4a5568;
    border-bottom: 2px solid #e2e8f0;
}

.cpe-members-table td {
    padding: 15px;
    border-bottom: 1px solid #e2e8f0;
    color: #2d3748;
}

.cpe-members-table tr:hover {
    background: #f7fafc;
}

.cpe-members-table tr:last-child td {
    border-bottom: none;
}

/* Compliance Status Colors */
.compliance-compliant {
    color: #22543d;
    font-weight: 600;
}

.compliance-pending_compliance {
    color: #744210;
    font-weight: 600;
}

.compliance-non_compliant {
    color: #742a2a;
    font-weight: 600;
}

/* Global Styles */
.cpe-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #f8f9fa;
    min-height: 100vh;
}

/* Form Styles */
.cpe-hours-form {
    background: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin: 0 auto;
    max-width: 700px;
}

.cpe-hours-form h2 {
    color: #1a202c;
    margin-bottom: 10px;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.cpe-hours-form h2+p {
    color: #718096;
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 40px;
    font-weight: 400;
}

/* Form sections */
.cpe-form-section {
    margin-bottom: 40px;
}

.cpe-form-section:last-child {
    margin-bottom: 0;
}

.cpe-section-title {
    color: #2d3748;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 25px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}

/* Form layout */
.cpe-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.cpe-form-row .cpe-form-group {
    margin-bottom: 0;
}

.cpe-form-row:last-child {
    margin-bottom: 0;
}

/* Form groups */
.cpe-form-group {
    margin-bottom: 25px;
}

.cpe-form-group:last-child {
    margin-bottom: 0;
}

.cpe-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #4a5568;
    font-size: 0.95rem;
}

.cpe-required {
    color: #e53e3e;
    font-weight: 700;
    margin-left: 4px;
}

/* Input fields */
.cpe-form-group input,
.cpe-form-group select,
.cpe-form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.2s ease;
    background: white;
    color: #2d3748;
    font-weight: 400;
    box-sizing: border-box;
}

.cpe-form-group input:hover,
.cpe-form-group select:hover,
.cpe-form-group textarea:hover {
    border-color: #cbd5e0;
}

.cpe-form-group input:focus,
.cpe-form-group select:focus,
.cpe-form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Placeholder styling */
.cpe-form-group input::placeholder,
.cpe-form-group textarea::placeholder {
    color: #a0aec0;
    font-weight: 400;
}

/* Select dropdown styling */
.cpe-form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 16px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 50px;
    cursor: pointer;
}

.cpe-form-group select:focus {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23667eea' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
}

/* Date input styling */
.cpe-form-group.cpe-date-input input[type="date"] {
    cursor: pointer;
}

.cpe-form-group.cpe-date-input input[type="date"]::-webkit-calendar-picker-indicator {
    background: #667eea;
    border-radius: 4px;
    padding: 4px;
    cursor: pointer;
    filter: invert(1);
}

/* Textarea styling */
.cpe-form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
    font-family: inherit;
}

/* Form help text */
.cpe-form-help {
    display: block;
    margin-top: 8px;
    font-size: 0.875rem;
    color: #718096;
    font-style: italic;
}

/* Submit section */
.cpe-submit-section {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    margin-top: 30px;
}

.cpe-submit-section .cpe-section-title {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 25px;
}

/* Button styles */
.cpe-button {
    background: #667eea;
    color: white;
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    margin: 0 8px 8px 0;
    min-width: 160px;
}

.cpe-button:hover {
    background: #5a6fd8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.cpe-button:active {
    transform: translateY(0);
}

/* Primary submit button */
.cpe-button.cpe-button-primary {
    background: #667eea;
    min-width: 200px;
    padding: 18px 36px;
    font-size: 18px;
}

.cpe-button.cpe-button-primary:hover {
    background: #5a6fd8;
}

/* Secondary buttons */
.cpe-button.cpe-button-secondary {
    background: #718096;
    font-size: 14px;
    padding: 14px 24px;
    min-width: 140px;
}

.cpe-button.cpe-button-secondary:hover {
    background: #4a5568;
    box-shadow: 0 4px 12px rgba(113, 128, 150, 0.3);
}

/* Form message styling */
#cpe-form-message {
    margin-top: 25px;
    padding: 16px 20px;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
}

#cpe-form-message.cpe-success {
    background: #f0fff4;
    color: #22543d;
    border: 1px solid #9ae6b4;
}

#cpe-form-message.cpe-error {
    background: #fed7d7;
    color: #742a2a;
    border: 1px solid #feb2b2;
}

#cpe-form-message.cpe-info {
    background: #bee3f8;
    color: #2a4365;
    border: 1px solid #90cdf4;
}

/* Error states */
.cpe-form-group input.cpe-error,
.cpe-form-group select.cpe-error,
.cpe-form-group textarea.cpe-error {
    border-color: #e53e3e;
    background: #fed7d7;
}

.cpe-error-message {
    color: #e53e3e;
    font-size: 0.875rem;
    margin-top: 8px;
    display: block;
    font-weight: 500;
}

/* CPE Cycle Filter Styling */
.cpe-cycle-filter {
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.cpe-cycle-filter:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #adb5bd;
}

.cpe-cycle-filter label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #495057;
    font-size: 1rem;
}

.cpe-cycle-filter select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: white;
    color: #495057;
    cursor: pointer;
}

.cpe-cycle-filter select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: #f8f9ff;
}

.cpe-cycle-filter select:invalid {
    color: #6c757d;
}

.cpe-cycle-filter .cpe-form-help {
    margin-top: 8px;
    font-size: 0.875rem;
    color: #6c757d;
    font-style: italic;
}

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

.cpe-dashboard-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px;
}

.cpe-dashboard-header h1 {
    margin: 0 0 15px 0;
    font-size: 2.5rem;
    font-weight: 700;
}

.cpe-dashboard-header p {
    margin: 0;
    font-size: 1.1rem;
    opacity: 0.9;
}

.cpe-dashboard-nav {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.cpe-nav-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 200px;
    justify-content: center;
}

.cpe-nav-btn.cpe-primary {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.cpe-nav-btn.cpe-secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

.cpe-nav-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.cpe-nav-btn i {
    font-size: 20px;
}

.cpe-quick-stats {
    margin-bottom: 40px;
}

.cpe-quick-stats h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 1.8rem;
}

.cpe-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.cpe-stat-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s ease;
}

.cpe-stat-card:hover {
    transform: translateY(-5px);
}

.cpe-stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.cpe-stat-icon.cpe-approved {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.cpe-stat-icon.cpe-pending {
    background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
}

.cpe-stat-icon.cpe-total {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.cpe-stat-icon.cpe-target {
    background: linear-gradient(135deg, #6f42c1 0%, #e83e8c 100%);
}

.cpe-stat-content h3 {
    margin: 0 0 8px 0;
    color: #666;
    font-size: 14px;
    font-weight: 600;
}

.cpe-stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
}

.cpe-recent-activity {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.cpe-recent-activity h2 {
    margin: 0 0 25px 0;
    color: #333;
    font-size: 1.5rem;
}

.cpe-activity-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cpe-activity-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border-radius: 10px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.cpe-activity-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.cpe-activity-item.cpe-approved {
    border-left: 4px solid #28a745;
}

.cpe-activity-item.cpe-pending {
    border-left: 4px solid #ffc107;
}

.cpe-activity-item.cpe-rejected {
    border-left: 4px solid #dc3545;
}

.cpe-activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: #667eea;
}

.cpe-activity-content h4 {
    margin: 0 0 5px 0;
    color: #333;
    font-size: 1rem;
}

.cpe-activity-content p {
    margin: 0 0 8px 0;
    color: #666;
    font-size: 14px;
}

.cpe-activity-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.cpe-activity-status.cpe-status-approved {
    background: #d4edda;
    color: #155724;
}

.cpe-activity-status.cpe-status-pending,
.cpe-activity-status.cpe-status-p {
    background: #fff3cd;
    color: #856404;
}

.cpe-activity-status.cpe-status-approved,
.cpe-activity-status.cpe-status-a {
    background: #d4edda;
    color: #155724;
}

.cpe-activity-status.cpe-status-rejected {
    background: #f8d7da;
    color: #721c24;
}

.cpe-no-activity {
    text-align: center;
    color: #666;
    font-style: italic;
}

.cpe-no-activity a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.cpe-loading-spinner {
    text-align: center;
    padding: 40px;
    color: #666;
}

/* List View Styles */
.cpe-hours-list {
    max-width: 1200px;
    margin: 20px auto;
}

.cpe-cycle-filter {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
        display: flex;
    align-items: baseline;
    gap: 15px;
        flex-direction: column;
}

.cpe-cycle-filter label {
    font-weight: 600;
    margin: 0;
}

.cpe-cycle-filter select {
    min-width: 200px;
}

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

.cpe-summary-stat {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cpe-summary-stat h3 {
    margin: 0 0 10px 0;
    color: #666;
    font-size: 14px;
}

.cpe-entries-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cpe-entries-table th,
.cpe-entries-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e1e5e9;
}

.cpe-entries-table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
}

.cpe-entries-table tr:hover {
    background-color: #f8f9fa;
}

.cpe-status-pending,
.cpe-status-p {
    color: #ffc107;
    font-weight: 600;
}

.cpe-status-approved,
.cpe-status-a {
    color: #28a745;
    font-weight: 600;
}

.cpe-status-rejected,
.cpe-status-r {
    color: #dc3545;
    font-weight: 600;
}

.current-status-display {
    padding: 10px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    min-height: 20px;
    margin-bottom: 10px;
    display: block;
}

.current-status-display .cpe-status-placeholder {
    color: #6c757d;
    font-style: italic;
    font-size: 14px;
}

.form-help-text {
    color: #6c757d;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.status-change-indicator {
    margin-top: 10px;
    padding: 8px 12px;
    background: #e7f3ff;
    border: 1px solid #b3d9ff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-arrow {
    color: #0066cc;
    font-weight: bold;
    font-size: 16px;
}

.status-change-text {
    color: #0066cc;
    font-size: 13px;
}

.current-status-display .cpe-status-p,
.current-status-display .cpe-status-pending {
    background: #fff3cd;
    color: #856404;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

.current-status-display .cpe-status-a,
.current-status-display .cpe-status-approved {
    background: #d4edda;
    color: #155724;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

.current-status-display .cpe-status-r,
.current-status-display .cpe-status-rejected {
    background: #f8d7da;
    color: #721c24;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

.cpe-status-approved {
    color: #28a745;
    font-weight: 600;
}

.cpe-status-rejected {
    color: #dc3545;
    font-weight: 600;
}

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

.cpe-modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
}

.cpe-modal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.cpe-modal-close:hover {
    color: #000;
}

.cpe-form-actions {
    margin-top: 20px;
    text-align: right;
}

.cpe-form-actions .cpe-button {
    margin-left: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cpe-container {
        padding: 20px 15px;
    }

    .cpe-hours-form {
        padding: 30px 25px;
        border-radius: 8px;
    }

    .cpe-hours-form h2 {
        font-size: 2rem;
    }

    .cpe-form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cpe-form-group input,
    .cpe-form-group select,
    .cpe-form-group textarea {
        padding: 14px 16px;
        font-size: 16px;
        /* Prevents zoom on iOS */
    }

    .cpe-button {
        width: 100%;
        margin: 0 0 10px 0;
        min-width: auto;
    }

    .cpe-submit-section {
        text-align: center;
    }

    .cpe-dashboard-nav {
        flex-direction: column;
        align-items: center;
    }

    .cpe-nav-btn {
        width: 100%;
        max-width: 300px;
    }

    .cpe-stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .cpe-container {
        padding: 15px 10px;
    }

    .cpe-hours-form {
        padding: 25px 20px;
    }

    .cpe-hours-form h2 {
        font-size: 1.75rem;
    }

    .cpe-section-title {
        font-size: 1.2rem;
    }
}

/* Accessibility */
.cpe-button:focus,
.cpe-form-group input:focus,
.cpe-form-group select:focus,
.cpe-form-group textarea:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .cpe-button {
        border: 2px solid currentColor;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

    .cpe-button:hover,
    .cpe-form-group input:hover,
    .cpe-form-group select:hover,
    .cpe-form-group textarea:hover {
        transform: none;
    }
}