/* Global Styles for Investor Data Room */

:root {
    --remi-brand-accent: #f05c68;
    --remi-brand-accent-dark: #cf3f4f;
    --remi-brand-accent-soft: #fff1f2;
    --remi-brand-dark: #111111;
    --remi-brand-surface: #fcfcfc;
    --remi-brand-border: #f3d1d5;
}

body {
    font-family: Arial, 'Inter', sans-serif;
    background: #ffffff;
    color: #222222;
}

.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
}

.menu-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: #475569; /* slate-600 */
    border-radius: 0.5rem;
    transition: background-color 0.2s, color 0.2s;
    position: relative;
    border-left: 4px solid transparent;
    margin-bottom: 0.25rem;
}

.menu-link:hover {
    background-color: var(--remi-brand-accent-soft);
    color: var(--remi-brand-accent);
}

.menu-link:hover .material-icons-outlined {
    color: var(--remi-brand-accent);
}

.menu-link.active {
    background-color: var(--remi-brand-accent-soft);
    color: var(--remi-brand-accent);
    font-weight: 600;
    border-left-color: var(--remi-brand-accent);
}

.menu-link.active .material-icons-outlined {
    color: var(--remi-brand-accent);
}

.sub-menu-link {
    padding-left: 3rem;
    font-size: 0.9rem;
}

.content-view {
    display: none;
}

.content-view.active {
    display: block;
}

.material-icons-outlined {
    font-size: 20px;
}

.stat-card {
    @apply bg-slate-50 p-4 rounded-lg border border-slate-200 text-center;
}

.stat-label {
    @apply text-sm font-medium text-slate-500;
}

.stat-value {
    @apply text-2xl font-bold text-slate-800;
}

.partner-card {
    @apply bg-white p-6 rounded-xl border shadow-sm flex flex-col h-full transition-shadow hover:shadow-md;
}

.phase-card {
    @apply bg-white p-6 rounded-xl border border-slate-200 shadow-sm hover:shadow-md transition-all;
}

/* --- Modal Styles --- */
#disclaimer-modal {
    backdrop-filter: blur(4px);
}

.disclaimer-scroll::-webkit-scrollbar {
    width: 8px;
}

.disclaimer-scroll::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.disclaimer-scroll::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.disclaimer-scroll::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.progress-bar-fill {
    transition: width 1.5s ease-in-out;
}

/* Brand styling aligned with company profile look */
.brand-hero {
    background: linear-gradient(135deg, #111111 0%, #272727 60%, #444444 100%);
    box-shadow: 0 18px 45px rgba(17, 17, 17, 0.25);
}

.brand-stat-card {
    background: linear-gradient(180deg, #ffffff 0%, #fff8f8 100%);
    border: 1px solid var(--remi-brand-border);
    border-radius: 0.9rem;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.brand-stat-value {
    font-size: 1.45rem;
    line-height: 1.2;
    font-weight: 800;
    color: #0f172a;
}

.brand-stat-label {
    margin-top: 0.35rem;
    font-size: 0.78rem;
    color: #475569;
    font-weight: 600;
}

.brand-panel {
    border: 1px solid #ececec;
    border-radius: 0.9rem;
    padding: 1.25rem;
    background-color: #ffffff;
}

.brand-flow-step {
    background: #ffffff;
    border: 1px solid #ececec;
    border-radius: 0.85rem;
    padding: 1rem;
    min-height: 150px;
}

.brand-flow-step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 9999px;
    background: var(--remi-brand-accent);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
}

.brand-flow-step p {
    color: #334155;
    font-size: 0.86rem;
    line-height: 1.35rem;
    font-weight: 500;
}

header.bg-white {
    border-bottom: 1px solid #ececec;
    box-shadow: 0 2px 12px rgba(17, 17, 17, 0.04);
}

aside .bg-white,
main .bg-white.rounded-2xl {
    background-color: var(--remi-brand-surface);
    border: 1px solid #ededed;
}

/* Recolor commonly used Tailwind accents to CI palette */
.bg-blue-50,
.bg-indigo-50,
.bg-purple-50,
.bg-emerald-50 {
    background-color: var(--remi-brand-accent-soft) !important;
}

.text-blue-900,
.text-indigo-900,
.text-purple-900,
.text-emerald-900 {
    color: var(--remi-brand-dark) !important;
}

.text-blue-800,
.text-indigo-800,
.text-purple-800,
.text-emerald-800,
.text-blue-700,
.text-indigo-700,
.text-purple-700,
.text-emerald-700,
.text-blue-600,
.text-indigo-600,
.text-purple-600,
.text-emerald-600 {
    color: var(--remi-brand-accent) !important;
}

.group:hover .group-hover\:text-blue-600,
.group:hover .group-hover\:text-indigo-600,
.group:hover .group-hover\:text-purple-600,
.group:hover .group-hover\:text-emerald-600 {
    color: var(--remi-brand-accent) !important;
}

.border-blue-200,
.border-indigo-200,
.border-purple-200,
.border-emerald-200,
.border-blue-300 {
    border-color: var(--remi-brand-border) !important;
}

.hover\:border-blue-300:hover,
.hover\:border-blue-400:hover,
.hover\:border-indigo-300:hover,
.hover\:border-purple-300:hover,
.hover\:border-emerald-300:hover {
    border-color: var(--remi-brand-accent) !important;
}

.bg-blue-600,
.bg-indigo-600,
.bg-purple-600,
.bg-emerald-600 {
    background-color: var(--remi-brand-accent) !important;
}

.hover\:bg-blue-700:hover,
.hover\:bg-indigo-700:hover,
.hover\:bg-purple-700:hover,
.hover\:bg-emerald-700:hover {
    background-color: var(--remi-brand-accent-dark) !important;
}

/* xREMI interactive model pages */
.xremi-surface {
    background: linear-gradient(180deg, #ffffff 0%, #fffbfb 100%);
    border: 1px solid var(--remi-brand-border);
    border-radius: 0.85rem;
}

.xremi-stat-icon {
    flex-shrink: 0;
    height: 3rem;
    width: 3rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--remi-brand-accent-soft);
    color: var(--remi-brand-accent);
}

@keyframes zoomIn {
    from {
        transform: scale(0.96);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* overview.html — architecture table */
.overview-table-cell {
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: top;
}

/* Fix dropdown arrow positioning */
select {
    padding-right: 2.5rem !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}
