/**
 * KINETIC // Canine Intellect Terminal Core Stylesheet
 * Luxury Aesthetics: Deep Onyx Surfaces & Enlarged Brightened Typography
 */

:root {
    --bg-primary: #05070b;
    --bg-surface: #0c101a;
    --bg-card: #131927;
    --bg-dropdown-hover: #1b2438;
    
    --border-subtle: #1e273b;
    --border-gold: #dfb76c;
    --accent-gold: #dfb76c;
    --accent-gold-dim: #b89554;
    
    --text-high-contrast: #ffffff;
    --text-normal: #f1f5f9;
    --text-muted: #94a3b8;
    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-normal);
    font-family: var(--font-stack);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}

.app-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

.app-header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 20px;
}

.app-header h1 {
    color: var(--text-high-contrast);
    font-size: 2.3rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin: 0 0 6px 0;
}

.app-header h1 span { color: var(--accent-gold); }
.app-header p { color: var(--text-muted); font-size: 0.95rem; margin: 0; letter-spacing: 0.03em; }

.app-like-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 2px 10px;
    font-family: var(--font-stack);
    font-weight: 600;
    font-size: 0.75rem;
    color: var(--text-muted);
    cursor: pointer;
    margin-top: 12px;
    transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.app-like-trigger:hover:not(:disabled) {
    color: #c9604c;
    border-color: #c9604c;
    background: var(--bg-dropdown-hover);
    transform: scale(1.05);
}

.app-like-trigger.liked {
    color: var(--accent-gold);
    border-color: var(--accent-gold);
    background: var(--bg-dropdown-hover);
    cursor: not-allowed;
}

.app-like-trigger:disabled:not(.liked) {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Control Input Configuration Panel */
.control-dashboard {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.search-form-group {
    display: flex;
    flex-direction: column;
}

.input-field-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 10px;
}

.search-input-wrapper {
    position: relative;
    width: 100%;
}

.input-field-node {
    width: 100%;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 16px 20px;
    color: var(--text-high-contrast);
    font-size: 1.2rem; /* Enlarged text entry field */
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-field-node:focus {
    border-color: var(--border-gold);
    box-shadow: 0 0 12px rgba(223, 183, 108, 0.1);
}

/* AJAX Real-time Pulldown Dropdown Suggestions List */
.suggestions-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-gold);
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 320px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.suggestion-item {
    padding: 14px 20px;
    font-size: 1.15rem; /* Enlarged drop items */
    font-weight: 600;
    color: var(--text-normal);
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: background-color 0.15s ease, color 0.15s ease;
}

.suggestion-item:hover, .suggestion-item.focused-item-node {
    background-color: var(--bg-dropdown-hover);
    color: var(--accent-gold);
}

/* Interactive Split Layout Workspace Elements */
#breedWorkspaceCanvas {
    display: none;
    animation: fadeInFrame 0.4s ease-out;
}

@keyframes fadeInFrame { from { opacity: 0; } to { opacity: 1; } }

.workspace-grid-layout {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 35px;
}

/* Left Column Graphic Profiles Layout */
.profile-media-panel {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    height: fit-content;
}

.image-frame-container {
    width: 100%;
    height: 340px;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--bg-primary);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

#breedImageAsset {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#breedHeadingTitle {
    color: var(--text-high-contrast);
    font-size: 2rem;
    font-weight: 700;
    margin: 24px 0 0 0;
    letter-spacing: -0.02em;
}

/* Right Column Quantitative Properties Table Matrix */
.profile-data-panel {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.panel-section-title {
    font-size: 1rem;
    text-transform: uppercase;
    color: var(--accent-gold);
    letter-spacing: 0.08em;
    font-weight: 700;
    margin: 0 0 25px 0;
    border-bottom: 1px dashed var(--border-subtle);
    padding-bottom: 12px;
}

.metrics-data-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.data-metric-card {
    background-color: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.text-block-wide {
    grid-column: span 2;
}

.field-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

/* Brightened and Enlarged Typography Metric Values */
.field-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-high-contrast);
}

.text-highlight-gold {
    color: var(--accent-gold);
}

/* Structural Visual Data Level Progress Rows */
.metric-visual-row {
    width: 100%;
    height: 10px;
    background-color: var(--bg-primary);
    border-radius: 5px;
    overflow: hidden;
    margin-top: 4px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.stat-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-gold-dim), var(--accent-gold));
    width: 0%;
    transition: width 1s cubic-bezier(0.1, 0.8, 0.2, 1);
    border-radius: 5px;
}

.biometric-row {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-muted);
}

.bright-text {
    color: var(--text-high-contrast);
    font-weight: 700;
}

.separator-pipe {
    color: var(--border-subtle);
    font-weight: 300;
}

/* Core Interface Feedback Screen Systems */
#statusLoggingOverlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
}

#loaderSpinnerRing {
    display: none;
    width: 40px;
    height: 40px;
    border: 3px solid rgba(223, 183, 108, 0.1);
    border-radius: 50%;
    border-top-color: var(--accent-gold);
    animation: spinTrack 0.8s linear infinite;
    margin-bottom: 20px;
}

@keyframes spinTrack { to { transform: rotate(360deg); } }
#statusHeadingTitle { font-size: 1.35rem; font-weight: 700; margin: 0 0 8px 0; }
#statusDescriptionMsg { color: var(--text-muted); font-size: 0.95rem; margin: 0; max-width: 500px; line-height: 1.5; }

@media (max-width: 950px) {
    .workspace-grid-layout { grid-template-columns: 1fr; }
    .metrics-data-grid { grid-template-columns: 1fr; }
    .text-block-wide { grid-column: span 1; }
    .profile-media-panel { width: 100%; box-sizing: border-box; }
}