/* Everyday Estate™ — 10" In-Wall Touch Console (Kiosk) Styling */

.kiosk-viewport {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: #040609;
    color: #f1f5f9;
    user-select: none;
    -webkit-user-select: none;
    display: flex;
    flex-direction: column;
    padding: 24px;
}

/* Top Estate Status Bar */
.kiosk-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.kiosk-time-display {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.kiosk-clock {
    font-size: 2.75rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums;
}

.kiosk-date {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.kiosk-environment {
    display: flex;
    align-items: center;
    gap: 20px;
}

.kiosk-temp-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--blue-accent);
}

/* Kiosk 3-Column Main Grid */
.kiosk-grid {
    display: grid;
    grid-template-columns: 280px 1fr 340px;
    gap: 24px;
    flex-grow: 1;
    margin: 20px 0;
    min-height: 0; /* Prevents overflow */
}

/* Column 1: One-Touch Quick Scenes */
.kiosk-scenes-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.scene-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 18px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition-smooth);
    min-height: 72px; /* Large touch target */
}

.scene-btn:active, .scene-btn.active {
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.3) 0%, rgba(197, 160, 89, 0.1) 100%);
    border-color: var(--gold-primary);
    transform: scale(0.98);
}

.scene-icon {
    font-size: 1.6rem;
    min-width: 32px;
}

.scene-label {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.scene-title {
    font-size: 1.05rem;
    font-weight: 700;
}

.scene-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Column 2: Interactive Room & Zone Controls */
.kiosk-center-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow-y: auto;
}

.zone-card {
    padding: 20px;
    border-radius: var(--radius-md);
    background: rgba(18, 24, 38, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.zone-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.zone-name {
    font-size: 1.15rem;
    font-weight: 700;
}

.zone-controls-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.zone-control-tile {
    padding: 16px 12px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    min-height: 80px;
    transition: var(--transition-smooth);
}

.zone-control-tile.state-active {
    background: rgba(197, 160, 89, 0.2);
    border-color: var(--gold-primary);
    color: var(--text-gold);
}

/* Column 3: Cameras & Pet Guardian Card */
.kiosk-right-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.camera-preview-tile {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #000;
    aspect-ratio: 16 / 9;
    cursor: pointer;
}

.camera-preview-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

.camera-overlay-tag {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.75);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 600;
}

.pet-status-card {
    padding: 18px;
    border-radius: var(--radius-md);
    background: rgba(18, 24, 38, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.pet-status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 0.95rem;
    font-weight: 700;
}

/* Bottom Push-to-Talk Everyday AI Bar */
.kiosk-bottom-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    background: rgba(18, 24, 38, 0.9);
    border: 1px solid rgba(197, 160, 89, 0.3);
}

.voice-assistant-trigger {
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
}

.voice-mic-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4af37 0%, #aa8222 100%);
    color: #07090e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
    transition: var(--transition-smooth);
}

.voice-mic-circle:active {
    transform: scale(0.92);
}

/* Doorbell Fullscreen Pop Modal */
.doorbell-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(16px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.doorbell-modal-overlay.active {
    display: flex;
    animation: doorbellModalIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes doorbellModalIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.doorbell-modal-content {
    width: 900px;
    max-width: 95vw;
    background: #0e121a;
    border: 2px solid var(--gold-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 0 50px rgba(197, 160, 89, 0.3);
}

.doorbell-video-frame {
    width: 100%;
    height: 480px;
    background: #000;
    position: relative;
}

.doorbell-actions-row {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #07090e;
}
