/* ARPHours Client Portal Styles */

.arphours-client-dashboard {
    padding: 20px;
}

.arphours-usage-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.arphours-usage-header {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

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

.arphours-stat-item {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 8px;
}

.arphours-stat-item.success {
    background: linear-gradient(135deg, #56ab2f 0%, #a8e063 100%);
}

.arphours-stat-item.warning {
    background: linear-gradient(135deg, #f2994a 0%, #f2c94c 100%);
}

.arphours-stat-item.danger {
    background: linear-gradient(135deg, #eb3349 0%, #f45c43 100%);
}

.arphours-stat-value {
    font-size: 36px;
    font-weight: bold;
    margin: 10px 0;
}

.arphours-stat-label {
    font-size: 14px;
    opacity: 0.9;
}

.arphours-progress-container {
    margin: 30px 0;
}

.arphours-progress-bar {
    width: 100%;
    height: 40px;
    background: #f0f0f0;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.arphours-progress-fill {
    height: 100%;
    transition: width 0.5s ease;
    background: linear-gradient(90deg, #4CAF50 0%, #FFC107 70%, #F44336 90%);
    border-radius: 20px;
}

.arphours-progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
    color: #333;
    font-size: 16px;
}

.arphours-chart-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.arphours-chart-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.arphours-entries-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.arphours-entries-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.arphours-entries-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.arphours-entries-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
}

.arphours-entries-table tbody tr:hover {
    background: #f8f9fa;
}

.arphours-entry-date {
    font-weight: 600;
    color: #333;
}

.arphours-entry-duration {
    font-family: monospace;
    font-weight: bold;
    color: #667eea;
}

.arphours-entry-notes {
    color: #666;
    font-size: 14px;
}

.arphours-download-btn {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.arphours-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

.arphours-alert-banner {
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 16px;
}

.arphours-alert-banner.warning {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    color: #856404;
}

.arphours-alert-banner.danger {
    background: #f8d7da;
    border-left: 4px solid #dc3545;
    color: #721c24;
}

.arphours-gauge-container {
    width: 200px;
    height: 200px;
    margin: 20px auto;
}
