/* EV Diag Pro - Professional Portal Style */

:root {
    --brand-blue: #004a99;
    --brand-dark: #1a1a1a;
    --accent-gray: #f8f9fa;
    --text-main: #333333;
    --border: #dee2e6;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #ffffff;
    color: #333333;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.main-header {
    background: #ffffff;
    padding: 15px 0;
    border-bottom: 4px solid var(--brand-blue);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    height: 70px;
    width: auto;
}

.nav-link {
    text-decoration: none;
    color: var(--brand-blue);
    font-weight: bold;
    border: 2px solid var(--brand-blue);
    padding: 10px 20px;
    border-radius: 5px;
    transition: 0.3s ease;
}

.nav-link:hover {
    background: var(--brand-blue);
    color: #ffffff;
}

/* Hero */
.hero {
    background: var(--brand-blue);
    color: #ffffff;
    text-align: center;
    padding: 80px 20px;
    margin-bottom: 50px;
}

.hero h1 {
    margin: 0;
    font-size: 2.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Portal Grid */
.portal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding-bottom: 80px;
}

.card {
    background: var(--accent-gray);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 40px 25px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.card.active:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.1);
    border-color: var(--brand-blue);
    background: #ffffff;
}

.card.disabled {
    background-color: #f2f2f2;
    opacity: 0.6;
    cursor: not-allowed;
}

.card-icon {
    font-size: 3.5rem;
    color: var(--brand-blue);
    margin-bottom: 25px;
}

.card h2 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--brand-dark);
}

.card p {
    font-size: 0.95rem;
    color: #666666;
    margin-bottom: 20px;
}

/* UI Elements */
.action-btn {
    margin-top: auto;
    background: var(--brand-blue);
    color: #ffffff;
    padding: 12px;
    border-radius: 6px;
    font-weight: bold;
    text-transform: uppercase;
}

.badge {
    margin-top: auto;
    background: #dddddd;
    color: #777777;
    padding: 8px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Footer */
.main-footer {
    background: var(--brand-dark);
    color: #bbbbbb;
    text-align: center;
    padding: 40px 0;
    font-size: 0.9rem;
}
/* Manual List Professional Layout */
.manual-list {
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    margin-top: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column; /* This fixes the horizontal bunching */
}

.manual-item {
    display: flex;
    align-items: center;
    padding: 18px 25px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #eee;
    transition: background 0.2s;
}

.manual-item:last-child {
    border-bottom: none;
}

.manual-item:hover {
    background: #f0f7ff; /* Light blue highlight */
}

.manual-item i.fa-file-pdf {
    color: #e74c3c; /* Red for PDF */
    font-size: 1.6rem;
    margin-right: 20px;
}

.manual-item span {
    flex-grow: 1;
    font-weight: 500;
    font-size: 1.05rem;
}

.manual-item i.fa-external-link-alt {
    color: #004a99;
    opacity: 0.6;
    font-size: 0.9rem;
}
.manual-item i.fa-download, 
.manual-item i.fa-file-archive {
    color: #27ae60; /* Professional Green for software */
    margin-right: 15px;
    font-size: 1.2rem;
}