/* My Service Requests Page - Beautiful Card Design */
.my-requests-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.page-header h2 {
    font-size: 1.75rem;
    color: #2c3e50;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.page-header h2 i { color: #667eea; }

.requests-grid {
    display: grid;
    gap: 1.5rem;
}

/* Beautiful Request Cards */
.request-card {
    background: white;
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.request-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.request-card:hover {
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.15);
    transform: translateY(-4px);
    border-color: #667eea20;
}

.request-card:hover::before { opacity: 1; }

.request-card.status-pending { border-left: 4px solid #f39c12; }
.request-card.status-accepted { border-left: 4px solid #27ae60; }
.request-card.status-cancelled { border-left: 4px solid #e74c3c; opacity: 0.7; }

/* Request Header */
.request-header { margin-bottom: 1.5rem; }

.request-title {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.request-title h3 {
    font-size: 1.25rem;
    color: #2c3e50;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-weight: 700;
    flex: 1;
}

.request-title h3 i { color: #667eea; }

.request-description {
    color: #7f8c8d;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* Status Badges */
.status-badge {
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.status-badge.status-pending {
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
    color: #d35400;
}

.status-badge.status-accepted {
    background: linear-gradient(135deg, #55efc4 0%, #00b894 100%);
    color: #00693e;
}

.status-badge.status-cancelled {
    background: linear-gradient(135deg, #fab1a0 0%, #e17055 100%);
    color: #c0392b;
}

/* Request Details */
.request-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    margin-bottom: 1.25rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #495057;
    font-size: 0.875rem;
    font-weight: 500;
}

.detail-item i { color: #667eea; font-size: 0.95rem; }

/* Interest Alert - Animated */
.interest-alert {
    background: linear-gradient(135deg, #667eea15 0%, #764ba225 100%);
    border: 2px solid #667eea;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-bottom: 1.25rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(102, 126, 234, 0); }
}

.interest-alert i { color: #667eea; font-size: 1.25rem; }
.interest-alert strong { flex: 1; color: #2c3e50; font-size: 0.95rem; }

/* Provider Accepted */
.provider-accepted {
    background: linear-gradient(135deg, #27ae6015 0%, #2ecc7125 100%);
    border: 2px solid #27ae60;
    border-radius: 12px;
    padding: 0.875rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 1.25rem;
}

.provider-accepted i { color: #27ae60; font-size: 1.125rem; }
.provider-accepted span { color: #2c3e50; font-size: 0.925rem; }
.provider-accepted strong { color: #27ae60; }

/* Request Actions */
.request-actions {
    display: flex;
    gap: 0.875rem;
    justify-content: flex-end;
    flex-wrap: wrap;
    padding-top: 0.875rem;
    border-top: 2px solid #f0f3f7;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

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

.btn-primary:hover {
    background: linear-gradient(135deg, #5568d3 0%, #6a4190 100%);
}

.btn-sm { padding: 0.5rem 1rem; font-size: 0.8125rem; }

.btn-danger-outline {
    background: transparent;
    color: #e74c3c;
    border: 2px solid #e74c3c;
    box-shadow: none;
}

.btn-danger-outline:hover {
    background: #e74c3c;
    color: white;
}

/* Loading & Empty States */
.loading-state, .empty-state {
    text-align: center;
    padding: 3.5rem 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.loading-state i { font-size: 2.5rem; color: #667eea; margin-bottom: 1.25rem; }
.empty-state i { font-size: 3.5rem; color: #bdc3c7; margin-bottom: 1.25rem; }
.empty-state h3 { font-size: 1.5rem; color: #2c3e50; margin-bottom: 0.625rem; }
.empty-state p { color: #7f8c8d; margin-bottom: 1.75rem; font-size: 0.975rem; }

/* Alert */
.alert {
    padding: 1rem 1.25rem;
    border-radius: 12px;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.alert-danger {
    background: linear-gradient(135deg, #e74c3c15 0%, #c0392b25 100%);
    color: #c0392b;
    border: 2px solid #e74c3c;
}

/* Responsive */
@media (max-width: 768px) {
    .page-header { flex-direction: column; align-items: stretch; }
    .page-header h2 { font-size: 1.5rem; }
    .request-card { padding: 1.25rem; }
    .request-title { flex-direction: column; align-items: flex-start; }
    .request-title h3 { font-size: 1.125rem; }
    .request-details { flex-direction: column; gap: 0.875rem; }
    .request-actions, .interest-alert { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }
}
