/* Hero Section da Agenda Realística - AgendQui */

/* Container principal da agenda mockup */
.agenda-mockup-container {
    position: relative;
    max-width: 650px;
    margin: 0 auto;
    perspective: 1000px;
}

.agenda-mockup-wrapper {
    position: relative;
    transform: rotateX(5deg) rotateY(-5deg);
    transition: transform 0.3s ease;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(59, 130, 246, 0.15);
    background: linear-gradient(145deg, #ffffff, #f8fafc);
}

.agenda-mockup-wrapper:hover {
    transform: rotateX(2deg) rotateY(-2deg) scale(1.02);
}

.agenda-mockup-screen {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
}

/* Header da agenda mockup */
.agenda-mockup-header {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.agenda-mockup-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.agenda-mockup-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    border: 2px solid #e5e7eb;
}

.agenda-mockup-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.agenda-mockup-user-info {
    display: flex;
    flex-direction: column;
}

.agenda-mockup-name {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
}

.agenda-mockup-role {
    font-size: 12px;
    color: #6b7280;
}

.agenda-mockup-date {
    text-align: right;
}

.agenda-mockup-date-text {
    font-size: 13px;
    color: #374151;
    font-weight: 500;
    display: block;
    margin-bottom: 8px;
}

.agenda-mockup-nav {
    display: flex;
    gap: 4px;
    align-items: center;
}

.agenda-mockup-nav-btn {
    width: 24px;
    height: 24px;
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    color: #6b7280;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.agenda-mockup-nav-btn:hover {
    background: #e5e7eb;
    color: #374151;
}

.agenda-mockup-today {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    margin-left: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.agenda-mockup-today:hover {
    background: #2563eb;
}

/* Tabela da agenda */
.agenda-mockup-table {
    background: white;
}

.agenda-mockup-table-header {
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    display: grid;
    grid-template-columns: 80px 1fr 100px;
    padding: 12px 16px;
}

.agenda-mockup-col-header {
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.agenda-mockup-rows {
    max-height: 200px;
    overflow-y: auto;
}

.agenda-mockup-row {
    display: grid;
    grid-template-columns: 80px 1fr 100px;
    padding: 12px 16px;
    border-bottom: 1px solid #f3f4f6;
    transition: background-color 0.2s ease;
}

.agenda-mockup-row:hover {
    background: #f8fafc;
}

.agenda-mockup-time {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    font-family: 'Courier New', monospace;
}

.agenda-mockup-client {
    font-size: 13px;
    color: #1f2937;
    font-weight: 500;
}

.agenda-mockup-status {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 12px;
    text-align: center;
    letter-spacing: 0.5px;
}

/* Status específicos */
.agenda-mockup-status.confirmado {
    background: #dcfce7;
    color: #166534;
}

.agenda-mockup-status.agendado {
    background: #dbeafe;
    color: #1e40af;
}

.agenda-mockup-status.livre {
    background: #f3f4f6;
    color: #6b7280;
}

.agenda-mockup-status.pendente {
    background: #fef3c7;
    color: #92400e;
}

.agenda-mockup-status.concluido {
    background: #d1fae5;
    color: #065f46;
}

/* Ações da agenda */
.agenda-mockup-actions {
    background: #f8fafc;
    padding: 12px 16px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 8px;
}

.agenda-mockup-pendentes,
.agenda-mockup-filtros {
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.agenda-mockup-pendentes {
    background: #fef3c7;
    border-color: #f59e0b;
    color: #92400e;
}

.agenda-mockup-pendentes:hover {
    background: #fde68a;
}

.agenda-mockup-filtros:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.agenda-mockup-pendentes i,
.agenda-mockup-filtros i {
    font-size: 10px;
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.animate-delay-100 {
    animation-delay: 0.1s;
}

/* Responsividade */
@media (max-width: 768px) {
    .agenda-mockup-container {
        max-width: 400px;
    }
    
    .agenda-mockup-wrapper {
        transform: rotateX(2deg) rotateY(-2deg);
    }
    
    .agenda-mockup-wrapper:hover {
        transform: rotateX(1deg) rotateY(-1deg) scale(1.01);
    }
    
    .agenda-mockup-header {
        padding: 12px 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .agenda-mockup-date {
        text-align: left;
        width: 100%;
    }
    
    .agenda-mockup-table-header,
    .agenda-mockup-row {
        grid-template-columns: 70px 1fr 80px;
        padding: 10px 12px;
    }
    
    .agenda-mockup-col-header,
    .agenda-mockup-time,
    .agenda-mockup-client {
        font-size: 12px;
    }
    
    .agenda-mockup-status {
        font-size: 10px;
        padding: 1px 6px;
    }
    
    .agenda-mockup-actions {
        padding: 10px 12px;
        flex-direction: column;
    }
    
    .agenda-mockup-pendentes,
    .agenda-mockup-filtros {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .agenda-mockup-container {
        max-width: 320px;
    }
    
    .agenda-mockup-wrapper {
        transform: none;
    }
    
    .agenda-mockup-wrapper:hover {
        transform: scale(1.02);
    }
}

/* Efeitos visuais */
.agenda-mockup-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(59, 130, 246, 0.02) 50%, transparent 100%);
    pointer-events: none;
}

/* Scrollbar customizada para a tabela */
.agenda-mockup-rows::-webkit-scrollbar {
    width: 4px;
}

.agenda-mockup-rows::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.agenda-mockup-rows::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 2px;
}

.agenda-mockup-rows::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* ============ NOVOS ESTILOS REALÍSTICOS ============ */

/* Toolbar de controles */
.agenda-mockup-toolbar {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.agenda-mockup-controls-left,
.agenda-mockup-controls-right {
    display: flex;
    gap: 8px;
    align-items: center;
}

.agenda-mockup-filter,
.agenda-mockup-pendentes-btn,
.agenda-mockup-refresh,
.agenda-mockup-settings {
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.agenda-mockup-filter.active {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

.agenda-mockup-pendentes-btn {
    background: #fef3c7;
    border-color: #f59e0b;
    color: #92400e;
}

.agenda-mockup-pendentes-btn .badge {
    background: #f59e0b;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 4px;
}

.agenda-mockup-refresh,
.agenda-mockup-settings {
    padding: 8px;
    min-width: 32px;
    justify-content: center;
}

.agenda-mockup-refresh:hover,
.agenda-mockup-settings:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
}

/* Tabela realística */
.agenda-mockup-table-header {
    grid-template-columns: 40px 80px 1fr 120px 100px;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    padding: 12px 16px;
}

.agenda-mockup-rows {
    max-height: 280px;
    overflow-y: auto;
}

.agenda-mockup-row {
    grid-template-columns: 40px 80px 1fr 120px 100px;
    padding: 12px 16px;
    border-bottom: 1px solid #f3f4f6;
    transition: all 0.2s ease;
}

.agenda-mockup-row.clickable {
    cursor: pointer;
}

.agenda-mockup-row.clickable:hover {
    background: #f8fafc;
    border-left: 3px solid #3b82f6;
    transform: translateX(2px);
}

.agenda-mockup-row.empty {
    opacity: 0.6;
}

.agenda-mockup-row.pending {
    border-left: 3px solid transparent;
    background: linear-gradient(90deg, #fef3c7 0%, #ffffff 3px);
}

/* Seleção e checkboxes */
.agenda-mockup-select {
    display: flex;
    justify-content: center;
    align-items: center;
}

.agenda-mockup-select input[type="checkbox"],
.agenda-mockup-select-all {
    width: 16px;
    height: 16px;
    accent-color: #3b82f6;
    cursor: pointer;
}

/* Cliente com informações */
.agenda-mockup-client {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.client-name {
    font-size: 13px;
    font-weight: 600;
    color: #1f2937;
}

.client-phone {
    font-size: 11px;
    color: #6b7280;
    font-family: 'Courier New', monospace;
}

.empty-slot {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #9ca3af;
    font-size: 12px;
    font-style: italic;
}

.empty-slot i {
    color: #d1d5db;
}

/* Serviços e preços */
.agenda-mockup-service {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.service-name {
    font-size: 12px;
    font-weight: 500;
    color: #374151;
}

.service-price {
    font-size: 11px;
    font-weight: 600;
    color: #059669;
    font-family: 'Courier New', monospace;
}

/* Status melhorados */
.agenda-mockup-status {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 12px;
    text-align: center;
    letter-spacing: 0.5px;
    position: relative;
}

.agenda-mockup-status i {
    font-size: 10px;
}

/* Indicador de pulso para pendentes */
.pulse-indicator {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 6px;
    height: 6px;
    background: #f59e0b;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
    100% {
        transform: scale(0.8);
        opacity: 1;
    }
}



/* Tooltips */
[title] {
    position: relative;
    cursor: help;
}

/* Animações aprimoradas */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.loading-shimmer {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
}

/* Responsividade aprimorada */
@media (max-width: 768px) {
    .agenda-mockup-container {
        max-width: 500px;
    }
    
    .agenda-mockup-toolbar {
        padding: 8px 12px;
        flex-direction: column;
        gap: 8px;
    }
    
    .agenda-mockup-controls-left,
    .agenda-mockup-controls-right {
        width: 100%;
        justify-content: center;
    }
    
    .agenda-mockup-table-header,
    .agenda-mockup-row {
        grid-template-columns: 30px 60px 1fr 80px 70px;
        padding: 8px 12px;
        font-size: 11px;
    }
    
    .client-name {
        font-size: 12px;
    }
    
    .client-phone {
        font-size: 10px;
    }
    
    .service-name,
    .service-price {
        font-size: 10px;
    }
    

}

@media (max-width: 480px) {
    .agenda-mockup-container {
        max-width: 380px;
    }
    
    .agenda-mockup-wrapper {
        transform: none;
    }
    
    .agenda-mockup-wrapper:hover {
        transform: scale(1.01);
    }
    
    .agenda-mockup-table-header,
    .agenda-mockup-row {
        grid-template-columns: 25px 50px 1fr 60px;
        font-size: 10px;
    }
    
    .agenda-mockup-service {
        display: none;
    }
}