/* ==========================================================================
   GOOGLE CONSOLE THEME - VERSION 1.5
   ========================================================================== */

:root {
    --g-bg: #ffffff;
    --g-sidebar: #f8f9fa;
    --g-border: #dadce0;
    --g-accent: #1a73e8;
    --g-text-main: #3c4043;
    --g-text-sec: #5f6368;
    --g-hover: #f1f3f4;
    --g-header-bg: #f5f5f5;
}

body { background: var(--g-bg); color: var(--g-text-main); font-family: 'Inter', sans-serif; margin: 0; }

/* LOGIN UI - RESTORED & POLISHED */
.login-wrapper {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f3f4;
}

.login-card {
    background: white;
    padding: 50px;
    width: 450px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
}

.login-header {
    margin-bottom: 40px;
}

.login-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--g-text-main);
    margin-bottom: 10px;
}
.login-logo strong { color: var(--g-accent); }

.login-header p {
    font-size: 0.9rem;
    color: var(--g-text-sec);
}

.input-group {
    text-align: left;
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    font-size: 0.75rem;
    color: var(--g-text-sec);
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.input-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--g-border);
    border-radius: 4px;
    font-size: 1rem;
    background: #fff;
    transition: border-color 0.2s;
}

.input-group input:focus {
    border-color: var(--g-accent);
    outline: none;
}

.login-btn {
    width: 100%;
    padding: 15px;
    background: var(--g-accent);
    border: none;
    color: white;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.2s;
}
.login-btn:hover { background: #1557b0; }

/* DASHBOARD SHELL */
.dashboard-shell { height: 100vh; display: grid; grid-template-rows: 64px 1fr; }
.dashboard-header { background: var(--g-header-bg); border-bottom: 1px solid var(--g-border); display: flex; align-items: center; justify-content: space-between; padding: 0 20px; }
.dashboard-logo { font-size: 1.1rem; font-weight: 700; }

/* HAMBURGER MENU */
.hamburger-menu { font-size: 1.5rem; cursor: pointer; margin-right: 20px; display: none; }

.header-tools { display: flex; align-items: center; gap: 20px; flex: 1; justify-content: flex-end; }
.tool-icon { font-size: 1.2rem; color: var(--g-text-sec); cursor: pointer; padding: 5px; border-radius: 50%; }
.project-selector select { padding: 8px 12px; border: 1px solid var(--g-border); border-radius: 4px; font-size: 0.85rem; background: white; }
.user-info { font-weight: 500; color: var(--g-text-main); margin-left: 10px; }
.logout-btn { background: none; border: 1px solid var(--g-border); padding: 5px 15px; border-radius: 4px; cursor: pointer; }

.dashboard-main { display: grid; grid-template-columns: 256px 1fr; overflow: hidden; }

/* SIDEBAR */
.sidebar-pane { background: var(--g-sidebar); border-right: 1px solid var(--g-border); padding-top: 20px; }
.sidebar-pane.collapsed { display: none; }
.nav-item { padding: 12px 24px; cursor: pointer; font-size: 0.85rem; font-weight: 500; border-radius: 0 25px 25px 0; margin-right: 10px; color: var(--g-text-sec); }
.nav-item.active { background: #e8f0fe; color: var(--g-accent); }

/* CONTENT PANES */
.content-container { display: grid; grid-template-columns: 350px 1fr; background: white; }
.list-pane { border-right: 1px solid var(--g-border); overflow-y: auto; display: flex; flex-direction: column; }
.pane-header { padding: 15px 20px; font-size: 0.7rem; font-weight: 700; color: var(--g-text-sec); border-bottom: 1px solid var(--g-border); text-transform: uppercase; }
.pane-search-box { padding: 10px 15px; border-bottom: 1px solid var(--g-border); background: #fff; }
.pane-search-box input { width: 100%; padding: 8px 12px; border: 1px solid var(--g-border); border-radius: 4px; font-size: 0.85rem; background: #f8f9fa; }
.list-item { padding: 20px; border-bottom: 1px solid var(--g-border); cursor: pointer; }
.detail-pane { padding: 40px; overflow-y: auto; background: white; }

/* FIELD CHAT */
.field-chat-bar { position: fixed; bottom: 0; right: 20px; width: 300px; background: white; border: 1px solid var(--g-border); border-radius: 8px 8px 0 0; box-shadow: 0 0 15px rgba(0,0,0,0.1); z-index: 5000; transition: transform 0.3s ease; transform: translateY(calc(100% - 45px)); }
.field-chat-bar.expanded { transform: translateY(0); }
.chat-toggle { padding: 12px 20px; background: var(--g-accent); color: white; font-weight: 700; font-size: 0.8rem; cursor: pointer; border-radius: 8px 8px 0 0; }
.chat-window { height: 350px; display: flex; flex-direction: column; padding: 15px; }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .dashboard-header { padding: 0 15px; }
    .user-info { display: none; }
    .dashboard-main { grid-template-columns: 200px 1fr; }
    .content-container { grid-template-columns: 300px 1fr; }
}

@media (max-width: 768px) {
    .hamburger-menu { display: block; }
    .header-tools { display: none; }
    .dashboard-main { grid-template-columns: 1fr; }
    .sidebar-pane { position: fixed; top: 64px; left: 0; bottom: 0; width: 256px; z-index: 1000; transform: translateX(-100%); transition: transform 0.3s ease; }
    .dashboard-shell.sidebar-open .sidebar-pane { transform: translateX(0); }
    .content-container { grid-template-columns: 1fr; }
    .detail-pane { position: absolute; top: 0; left: 0; width: 100%; height: 100%; transform: translateX(100%); transition: transform 0.3s ease; }
}