/* ============================================
   DOMÉSTICAS SP - FRONTEND STYLES
   Estilos para shortcode [domesticas_manager]
   ============================================ */

.domesticas-frontend-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.domesticas-frontend-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Blocos */
.domesticas-frontend-block {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 30px;
    animation: fadeIn 0.3s ease;
}

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

.domesticas-frontend-title {
    color: #2c3e50;
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 3px solid #667eea;
}

/* Busca */
.domesticas-search-wrapper {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.domesticas-frontend-input {
    flex: 1;
    padding: 15px 20px;
    font-size: 16px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    transition: all 0.3s ease;
}

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

/* Botões */
.domesticas-frontend-btn {
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.domesticas-frontend-btn-primary:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6a4190 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.domesticas-frontend-btn-small {
    padding: 8px 16px;
    font-size: 14px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.domesticas-frontend-btn-small:hover {
    background: #5a67d8;
}

/* Resultados em Grid */
.domesticas-frontend-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.domesticas-frontend-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
}

.domesticas-frontend-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.domesticas-frontend-card-title {
    font-weight: 600;
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.domesticas-frontend-card-info {
    color: #7f8c8d;
    font-size: 14px;
    margin-bottom: 5px;
}

/* Informações do Cliente */
.domesticas-frontend-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.domesticas-frontend-info-grid div {
    font-size: 15px;
    color: #2c3e50;
}

.domesticas-frontend-info-grid strong {
    display: block;
    color: #667eea;
    margin-bottom: 5px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Cards de Pedidos */
.domesticas-frontend-pedido-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 4px solid #667eea;
}

.domesticas-frontend-pedido-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e1e8ed;
}

.domesticas-frontend-pedido-header strong {
    font-size: 18px;
    color: #2c3e50;
}

.domesticas-frontend-pedido-body {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.domesticas-frontend-pedido-body div {
    font-size: 14px;
    color: #7f8c8d;
}

.domesticas-frontend-pedido-body strong {
    color: #2c3e50;
}

/* Status */
.domesticas-frontend-status {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.domesticas-frontend-status.pendente {
    background: #fff3cd;
    color: #856404;
}

.domesticas-frontend-status.em_andamento {
    background: #cce5ff;
    color: #004085;
}

.domesticas-frontend-status.concluido {
    background: #d4edda;
    color: #155724;
}

.domesticas-frontend-status.cancelado {
    background: #f8d7da;
    color: #721c24;
}

/* Mensagens */
.domesticas-frontend-loading,
.domesticas-frontend-info {
    padding: 20px;
    text-align: center;
    background: #f8f9fa;
    border-radius: 8px;
    color: #7f8c8d;
    font-size: 15px;
}

.domesticas-frontend-loading {
    background: #e3f2fd;
    color: #1976d2;
}

/* Responsividade */
@media (max-width: 768px) {
    .domesticas-frontend-wrapper {
        padding: 20px 10px;
    }
    
    .domesticas-frontend-block {
        padding: 20px;
    }
    
    .domesticas-search-wrapper {
        flex-direction: column;
    }
    
    .domesticas-frontend-btn {
        width: 100%;
    }
    
    .domesticas-frontend-grid {
        grid-template-columns: 1fr;
    }
    
    .domesticas-frontend-info-grid {
        grid-template-columns: 1fr;
    }
}
