/* rationstratalign.html — page-specific styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #0b0e13 0%, #141c28 100%);
    min-height: 100vh;
    color: #c9d2dc;
    line-height: 1.6;
}

.app-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar with Modern Design */
.sidebar {
    width: 280px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 24px 0;
    box-shadow: 2px 0 25px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    overflow-y: auto;
}

.sidebar.collapsed {
    width: 80px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #ff6b00, #ff9933);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo img {
    height: 32px;
}

.logo .material-icons {
    margin-right: 12px;
    font-size: 28px;
}

.header-buttons {
    margin-top: 16px;
}

.header-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #8c99a8;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.header-btn:hover {
    background: rgba(43,139,230,0.2);
    border-color: #2b8be6;
    color: #2b8be6;
}

.header-btn .material-icons {
    font-size: 18px;
}

/* Navigation Items with Modern Styling */
.nav-item {
    display: flex;
    align-items: center;
    padding: 12px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    background: none;
    color: white;
    width: 100%;
    text-align: left;
    position: relative;
    border-radius: 0 25px 25px 0;
    margin: 4px 0;
}

.nav-item.section-header {
    background: rgba(43,139,230,0.2);
    border-left: 4px solid #2b8be6;
    color: #2b8be6;
    font-weight: 600;
    margin: 8px 0 4px 0;
    box-shadow: 0 4px 15px rgba(43,139,230,0.2);
}

.nav-item.active-page {
    background: linear-gradient(135deg, rgba(43,139,230,0.3), rgba(84,104,242,0.3));
    border-left: 4px solid #5468f2;
    color: white;
    font-weight: 500;
    box-shadow: 0 4px 20px rgba(84,104,242,0.3);
}

.nav-item .material-icons {
    margin-right: 12px;
    font-size: 20px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.sidebar.collapsed .nav-text {
    display: none;
}

.sidebar.collapsed .expand-icon {
    display: none;
}

.nav-text {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
}

.expand-icon {
    margin-left: auto;
    transition: transform 0.3s ease;
    font-size: 18px;
    flex-shrink: 0;
}

.nav-item.section-header.expanded .expand-icon {
    transform: rotate(90deg);
}

.nav-item.section-header.expanded {
    background: #26303f;
}

/* Sub-navigation with Modern Design */
.nav-subitems {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.nav-subitems.expanded {
    max-height: 1000px;
}

.sidebar.collapsed .nav-subitems {
    display: none;
}

.nav-subitems .nav-item {
    background: transparent;
    padding-left: 52px;
    font-weight: 400;
    margin: 2px 0;
}

.nav-subitems .nav-item:hover {
    background: rgba(255,255,255,0.1);
    transform: translateX(8px);
}

.nav-subitems .nav-item.active-page {
    background: rgba(84,104,242,0.2);
    border-left: 3px solid #5468f2;
}

/* Main Content with Modern Styling */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: rgba(255,255,255,0.02);
}

.header {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 32px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-left {
    display: flex;
    align-items: center;
}

.header-title {
    font-size: 28px;
    font-weight: 700;
    margin-left: 20px;
    background: linear-gradient(135deg, #ff6b00, #ff9933);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* Content Area */
.content {
    padding: 32px;
    flex: 1;
    overflow-y: auto;
    background: rgba(255,255,255,0.02);
}

/* View Toggle Buttons - Updated to match rationalization.html */
.view-toggle {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 24px;
}

.toggle-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.toggle-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    color: white;
}

.toggle-btn.active {
    background: rgba(23,30,39,0.9);
    color: #a8b5c7;
    border-color: rgba(201,209,220,.14);
}

.toggle-btn .material-icons {
    font-size: 18px;
}

/* Simplified Scoring System */
.scoring-guide {
    background: linear-gradient(135deg, rgba(43,139,230,0.1), rgba(84,104,242,0.1));
    border: 1px solid rgba(43,139,230,0.2);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.scoring-guide h3 {
    color: #2b8be6;
    margin-bottom: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.scoring-scale {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.scale-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.scale-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.scale-value {
    font-size: 24px;
    font-weight: 700;
    color: #2b8be6;
    margin-bottom: 8px;
}

.scale-description {
    font-size: 14px;
    color: #8c99a8;
    line-height: 1.4;
}

/* Enhanced Table Design */
.framework-section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    margin-bottom: 24px;
}

.table-header {
    background: linear-gradient(135deg, rgba(43,139,230,0.2), rgba(84,104,242,0.2));
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.table-header h3 {
    color: #2b8be6;
    margin: 0;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.framework-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.criteria-header {
    background: rgba(255, 255, 255, 0.1);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    padding: 8px 4px;
    font-size: 11px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 50px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    color: #c9d2dc;
    position: relative;
}

.criteria-header:hover {
    background: rgba(43,139,230,0.2);
    color: #2b8be6;
}

.criteria-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    white-space: normal;
    width: 200px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
}

.criteria-header:hover .criteria-tooltip {
    opacity: 1;
    visibility: visible;
}

.initiative-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.initiative-row:hover {
    background: rgba(255, 255, 255, 0.05);
}

.initiative-name {
    padding: 16px;
    font-weight: 500;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    min-width: 250px;
    color: #c9d2dc;
    font-size: 14px;
    line-height: 1.4;
}

.score-cell {
    width: 60px;
    text-align: center;
    padding: 8px 4px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.score-input {
    width: 100%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    padding: 8px 4px;
    font-size: 14px;
    background: rgba(43,139,230,0.1);
    border-radius: 8px;
    color: #c9d2dc;
    transition: all 0.3s ease;
    font-weight: 500;
}

.score-input:focus {
    outline: none;
    border-color: #2b8be6;
    background: rgba(43,139,230,0.2);
    box-shadow: 0 0 0 3px rgba(43,139,230,0.1);
}

.score-input:hover {
    border-color: rgba(43,139,230,0.5);
}

.calculated-cell {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.2), rgba(255, 152, 0, 0.2));
    font-weight: 600;
    color: #ffc107;
    text-align: center;
    padding: 12px 8px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 16px;
    min-width: 80px;
}

/* Quick Actions */
.quick-actions-bar {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.quick-action-btn {
    background: rgba(43,139,230,0.2);
    border: 1px solid rgba(43,139,230,0.3);
    color: #2b8be6;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.quick-action-btn:hover {
    background: rgba(43,139,230,0.3);
    transform: translateY(-1px);
}

.quick-action-btn.active {
    background: #2b8be6;
    color: white;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.page-header {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #ff6b00, #ff9933);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    color: #8c99a8;
}

.tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px 8px 0 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tab {
    flex: 1;
    padding: 16px 24px;
    text-align: center;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #c9d2dc;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.tab:hover {
    background: rgba(255, 255, 255, 0.1);
}

.tab.active {
    border-bottom-color: #2b8be6;
    color: #2b8be6;
    background: rgba(43,139,230,0.1);
}

.tab-content-wrapper {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
}

.insight-info {
    padding: 20px;
    background: rgba(43,139,230,0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.insight-info h3 {
    color: #2b8be6;
    margin-bottom: 10px;
    font-weight: 500;
}

.insight-info p {
    color: #8c99a8;
}

.scale-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.scale-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 4px;
    border-left: 4px solid #2b8be6;
    font-size: 13px;
    color: #c9d2dc;
}

.tab-content {
    display: none;
}

.client-info {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.client-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-field {
    position: relative;
}

.form-field input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    color: #c9d2dc;
}

.form-field input:focus {
    outline: none;
    border-color: #2b8be6;
    box-shadow: 0 0 0 3px rgba(43,139,230,0.1);
}

.form-field label {
    position: absolute;
    top: -8px;
    left: 12px;
    background: linear-gradient(135deg, #0b0e13 0%, #141c28 100%);
    padding: 0 4px;
    font-size: 12px;
    color: #8c99a8;
    font-weight: 500;
}

.strategic-info {
    background: rgba(255, 255, 255, 0.05);
    padding: 16px;
    border-radius: 8px;
    margin-top: 16px;
    border-left: 4px solid #2b8be6;
}

.strategic-info h3 {
    margin-bottom: 8px;
    color: #2b8be6;
    font-weight: 600;
}

.strategic-info p {
    color: #8c99a8;
}

.scale-info {
    background: rgba(255, 152, 0, 0.1);
    border: 1px solid rgba(255, 152, 0, 0.2);
    padding: 16px;
    border-radius: 8px;
    margin: 16px 0;
}

.scale-info h4 {
    margin-bottom: 8px;
    color: #ff9800;
    font-weight: 600;
}

.scale-info ul {
    list-style: none;
    padding: 0;
}

.scale-info li {
    padding: 2px 0;
    font-size: 14px;
    color: #c9d2dc;
}

.framework-section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.framework-table {
    width: 100%;
    border-collapse: collapse;
}

.diagonal-header {
    background: rgba(255, 255, 255, 0.1);
    height: 120px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.diagonal-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom right, transparent 49%, #202a39 49%, #202a39 51%, transparent 51%);
}

.category-headers {
    display: flex;
    height: 100%;
}

.category-header {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 14px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.category-header.customer {
    background: linear-gradient(135deg, rgba(255,196,153,0.2), rgba(158,66,0,0.2));
    color: #ff9800;
}

.category-header.business {
    background: linear-gradient(135deg, rgba(144, 238, 144, 0.2), rgba(0, 100, 0, 0.2));
    color: #7b889a;
}

.category-header.technology {
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.2), rgba(139, 0, 0, 0.2));
    color: #f44336;
}

.criteria-header {
    background: rgba(255, 255, 255, 0.1);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    padding: 8px 4px;
    font-size: 11px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 50px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    color: #c9d2dc;
}

.initiative-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.initiative-row:hover {
    background: rgba(255, 255, 255, 0.05);
}

.initiative-name {
    padding: 12px 16px;
    font-weight: 500;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    min-width: 250px;
    color: #c9d2dc;
}

.score-cell {
    width: 50px;
    text-align: center;
    padding: 4px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.score-input {
    width: 100%;
    border: none;
    text-align: center;
    padding: 8px 4px;
    font-size: 14px;
    background: rgba(43,139,230,0.1);
    border-radius: 4px;
    color: #c9d2dc;
}

.score-input:focus {
    outline: 2px solid #2b8be6;
    background: rgba(43,139,230,0.2);
}

.calculated-cell {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.2), rgba(255, 152, 0, 0.2));
    font-weight: 600;
    color: #ffc107;
    text-align: center;
    padding: 8px 4px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

.button-group {
    display: flex;
    gap: 12px;
    margin: 20px 0;
    justify-content: flex-end;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, #2b8be6, #5468f2);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(43,139,230,0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #c9d2dc;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.summary-section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    margin-top: 24px;
    border-left: 4px solid #2b8be6;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.summary-section h3 {
    color: #2b8be6;
    margin-bottom: 16px;
    font-weight: 600;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.summary-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.summary-value {
    font-size: 24px;
    font-weight: 700;
    color: #2b8be6;
    margin-bottom: 4px;
}

.summary-label {
    font-size: 14px;
    color: #8c99a8;
}

@media (max-width: 1200px) {
    .criteria-header {
        font-size: 10px;
        min-width: 40px;
    }

    .score-cell {
        width: 40px;
    }
}

@media (max-width: 768px) {
    .sidebar {
        width: 80px;
    }

    .sidebar .nav-text {
        display: none;
    }

    .client-form {
        grid-template-columns: 1fr;
    }

    .framework-table {
        font-size: 12px;
    }

    .initiative-name {
        min-width: 180px;
    }

    .content {
        padding: 20px;
    }

    .view-toggle {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .toggle-btn {
        font-size: 0.8rem;
        padding: 10px 16px;
    }
}

/* Simplified Card-Based Interface */
.initiative-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
    margin: 24px 0;
}

.initiative-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
    position: relative;
}

.initiative-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(43,139,230,0.3);
}

.initiative-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.initiative-name-input {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 600;
    color: #f2f5f9;
    width: 100%;
    outline: none;
    transition: all 0.3s ease;
}

.initiative-name-input:focus {
    border-color: #2b8be6;
    background: rgba(43,139,230,0.1);
}

.initiative-score {
    background: linear-gradient(135deg, #2b8be6, #5468f2);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 18px;
    min-width: 60px;
    text-align: center;
}

.component-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.component-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
}

.component-title {
    font-size: 14px;
    font-weight: 600;
    color: #2b8be6;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rating-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding: 8px 0;
}

.rating-label {
    font-size: 12px;
    color: #8c99a8;
    flex: 1;
    margin-right: 12px;
}

.rating-select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 6px 10px;
    color: #f2f5f9;
    font-size: 12px;
    min-width: 60px;
    outline: none;
    transition: all 0.3s ease;
}

.rating-select:focus {
    border-color: #2b8be6;
    background: rgba(43,139,230,0.1);
}

.card-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.card-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-btn-primary {
    background: linear-gradient(135deg, #2b8be6, #5468f2);
    color: white;
}

.card-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(43,139,230,0.4);
}

.card-btn-danger {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.card-btn-danger:hover {
    background: rgba(239, 68, 68, 0.3);
    transform: translateY(-2px);
}

.add-initiative-card {
    background: rgba(255, 255, 255, 0.03);
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.add-initiative-card:hover {
    border-color: #2b8be6;
    background: rgba(43,139,230,0.05);
    transform: translateY(-4px);
}

.add-initiative-card .material-icons {
    font-size: 48px;
    color: #2b8be6;
    margin-bottom: 16px;
}

.add-initiative-card h3 {
    color: #2b8be6;
    margin-bottom: 8px;
    font-weight: 600;
}

.add-initiative-card p {
    color: #8c99a8;
    font-size: 14px;
}

/* Quick Actions Bar */
.quick-actions-bar {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.quick-action-btn {
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: #f2f5f9;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.quick-action-btn:hover {
    background: rgba(43,139,230,0.2);
    border-color: #2b8be6;
    transform: translateY(-2px);
}

.quick-action-btn .material-icons {
    font-size: 18px;
}

/* Simplified Summary Cards */
.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.summary-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.summary-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.summary-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2b8be6, #5468f2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.summary-icon .material-icons {
    font-size: 28px;
    color: white;
}

.summary-value {
    font-size: 32px;
    font-weight: 700;
    color: #2b8be6;
    margin-bottom: 8px;
}

.summary-label {
    font-size: 14px;
    color: #8c99a8;
    font-weight: 500;
}

/* Mobile Responsive Improvements */
@media (max-width: 768px) {
    .initiative-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .component-grid {
        grid-template-columns: 1fr;
    }

    .quick-actions-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .quick-action-btn {
        justify-content: center;
    }

    .summary-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .summary-grid {
        grid-template-columns: 1fr;
    }

    .initiative-card {
        padding: 16px;
    }

    .rating-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .rating-select {
        width: 100%;
    }
}

/* Enhanced Pria Chatbot Styles */
.chatbot-container {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 1000;
}

.chatbot-trigger {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #2b8be6, #5468f2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(43,139,230,0.4);
    transition: all 0.3s ease;
    border: none;
    color: white;
    animation: chatbotPulse 3s infinite;
}

.chatbot-trigger:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(43,139,230,0.5);
}

.chatbot-trigger .material-icons {
    font-size: 32px;
}

.chatbot-window {
    position: fixed;
    bottom: 122px;
    right: 32px;
    width: 380px;
    height: calc(100vh - 210px);
    max-height: calc(100vh - 210px);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    display: none;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.chatbot-header {
    background: linear-gradient(135deg, #2b8be6, #5468f2);
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #c9d2dc;
}

.quick-action {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #8c99a8;
}

.quick-action:hover {
    background: rgba(43,139,230,0.2);
    border-color: #2b8be6;
    color: #2b8be6;
}

.chatbot-messages {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.1);
}

.message {
    margin-bottom: 20px;
    animation: messageSlideIn 0.4s ease;
}

.message.user {
    display: flex;
    justify-content: flex-end;
}

.chatbot-input-area {
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.message.bot .message-content.ai-styled .ai-response {
    line-height: 1.7;
    color: #ffffff;
    font-size: 13px;
}

.quick-action {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #8c99a8;
}

.quick-action:hover {
    background: rgba(43,139,230,0.2);
    border-color: #2b8be6;
    color: #2b8be6;
}

.tutorial-btn {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.2));
    border-color: #10b981;
    color: #10b981;
}
.tutorial-btn:hover {
    background: rgba(16, 185, 129, 0.3);
    border-color: #10b981;
    color: #10b981;
}

.typing-indicator {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    margin-bottom: 20px;
}

.typing-dots {
    display: flex;
    gap: 6px;
    margin-left: 12px;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: #8c99a8;
    border-radius: 50%;
    animation: typingDot 1.4s infinite;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingDot {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }
    30% {
        transform: translateY(-12px);
        opacity: 1;
    }
}

/* Responsive Design for Chatbot */
@media (max-width: 768px) {
    .chatbot-window {
        width: 320px;
        height: calc(100vh - 190px);
        max-height: calc(100vh - 190px);
        bottom: 80px;
        right: 16px;
    }

    .chatbot-container {
        bottom: 16px;
        right: 16px;
    }
}

.issues-tracker-form {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.1);
    max-height: calc(90vh - 80px);
}

.form-group {
    margin-bottom: 20px;
}

.form-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.form-success {
    text-align: center;
    padding: 40px 20px;
    color: #10b981;
}

.form-success .material-icons {
    font-size: 48px;
    margin-bottom: 16px;
}

.form-success h3 {
    margin-bottom: 8px;
    color: #f2f5f9;
}

.form-success p {
    color: #8c99a8;
    font-size: 14px;
}

.hidden {
    display: none !important;
}

/* Responsive Design for Issues Tracker */
@media (max-width: 768px) {
    .issues-tracker-window {
        width: 320px;
        max-height: 85vh;
        min-height: 400px;
        right: 50px;
    }

    .issues-tracker-container {
        top: 50%;
        right: 0;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .issues-tracker-window {
        width: 280px;
        max-height: 80vh;
        min-height: 350px;
        right: 40px;
    }

    .issues-tracker-form {
        max-height: calc(80vh - 80px);
        padding: 16px;
    }

    .issues-tracker-trigger {
        width: 50px;
        height: 50px;
    }

    .issues-tracker-trigger .material-icons {
        font-size: 20px;
    }
}

/* ─── AI Recommendation Engine ─── */
.recommend-header-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 12px 20px; margin-right: 20px; font-size: 14px; font-weight: 600;
    background: linear-gradient(135deg, #5468f2, #4255d9);
    color: white; border: none; border-radius: 8px;
    cursor: pointer; transition: all 0.3s ease;
}
.recommend-header-btn:hover { background: linear-gradient(135deg, #8c9bf7, #5468f2); box-shadow: 0 4px 15px rgba(84,104,242,0.4); transform: translateY(-1px); }
.recommend-header-btn .material-icons { font-size: 18px; }
.recommend-modal-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.75); backdrop-filter: blur(8px);
    z-index: 100000; align-items: center; justify-content: center;
}

.recommend-modal {
    background: linear-gradient(145deg, #141c28, #1b2432);
    border: 1px solid rgba(84,104,242,0.3); border-radius: 20px;
    width: 90%; max-width: 800px; max-height: 90vh; overflow: hidden;
    box-shadow: 0 25px 80px rgba(0,0,0,0.6), 0 0 60px rgba(84,104,242,0.15);
}
.recommend-modal-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 24px 28px 20px; border-bottom: 1px solid rgba(84,104,242,0.15);
}
.recommend-modal-header h3 {
    display: flex; align-items: center; gap: 10px;
    font-size: 18px; font-weight: 700; color: #c9d2dc; margin: 0;
}
.recommend-modal-header h3 .material-icons { color: #8c9bf7; font-size: 24px; }
.recommend-modal-close {
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
    color: #8c99a8; border-radius: 10px; width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.2s;
}
.recommend-modal-close:hover { background: rgba(239,68,68,0.2); color: #f87171; border-color: rgba(239,68,68,0.3); }
.recommend-modal-body { padding: 24px 28px 28px; overflow-y: auto; max-height: calc(90vh - 80px); }
.recommend-input-row { display: flex; gap: 12px; margin-bottom: 20px; }
.recommend-input {
    flex: 1; padding: 14px 18px; background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1); border-radius: 12px;
    color: #c9d2dc; font-size: 14px; outline: none; transition: border 0.3s;
}
.recommend-input:focus { border-color: rgba(84,104,242,0.5); }
.recommend-input::placeholder { color: #a1aab6; }
.recommend-ai-btn {
    padding: 0 20px; background: linear-gradient(135deg, #5468f2, #4255d9);
    border: 1px solid #1431ed; border-radius: 12px; color: #fff;
    font-weight: 600; cursor: pointer; transition: all 0.3s;
    display: flex; align-items: center; gap: 6px;
}
.recommend-ai-btn:hover { background: linear-gradient(135deg, #8c9bf7, #5468f2); box-shadow: 0 4px 15px rgba(84,104,242,0.4); }
.recommend-ai-btn.loading { opacity: 0.7; pointer-events: none; }
.recommend-ai-btn.loading .material-icons { animation: recBtnSpin 1s linear infinite; }
@keyframes recBtnSpin { to { transform: rotate(360deg); } }

.recommend-chip {
    padding: 8px 16px; background: rgba(84,104,242,0.1);
    border: 1px solid rgba(84,104,242,0.2); border-radius: 20px;
    color: #8c9bf7; font-size: 12px; cursor: pointer; transition: all 0.2s;
    white-space: nowrap;
}
.recommend-chip:hover { background: rgba(84,104,242,0.2); border-color: rgba(84,104,242,0.4); color: #b8c1fa; }
.recommend-results {
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px; padding: 24px; min-height: 120px; color: #c9d2dc;
    line-height: 1.7; font-size: 14px;
    max-height: 55vh; overflow-y: auto; scroll-behavior: smooth;
}

.recommend-apply-btn.loading::after {
    content: ''; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.3);
    border-top-color: rgba(201,209,220,.14); border-radius: 50%; animation: applyBtnSpin 0.8s linear infinite; margin-left: 6px;
}

.sample-data-btn {
    background: linear-gradient(135deg, #4caf50, #66bb6a);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(76, 175, 80, 0.3);
}

.sample-data-btn:hover {
    background: linear-gradient(135deg, #45a049, #5bb974);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.sample-data-btn .material-icons {
    font-size: 1.1rem;
}
