/* Apollo Calculator Styles */

#apollo-value-tool,
#apollo-value-tool * {
    font-family: "proxima-nova", sans-serif;
}
.apollo-calculator-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
   
}

/* Grid System */
.apollo-row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

.apollo-col-12 {
    flex: 0 0 100%;
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

.apollo-col-lg-4 {
    flex: 0 0 33.33333%;
    max-width: 33.33333%;
    padding-left: 15px;
    padding-right: 15px;
}

.apollo-col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding-left: 15px;
    padding-right: 15px;
}

.apollo-col-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding-left: 15px;
    padding-right: 15px;
}

@media (max-width: 991.98px) {
    .apollo-col-lg-4,
    .apollo-col-lg-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Card Styles */
/* .apollo-card {
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.apollo-vh-card {
    border-radius: 14px;
} */

.apollo-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.25rem 0;
    margin-bottom: 0;
    background-color: transparent;
    border-bottom: none;
}

.apollo-card-title {
    margin-bottom: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #212529;
}

.apollo-card-content {
    flex: 1 1 auto;
}

.apollo-card-body {
    padding: 1.25rem;
}

/* Form Styles */
.apollo-form-group {
    margin-bottom: 1rem;
}

.apollo-form-control {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #8EC63F !important;
    border-radius: 6px !important;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.apollo-form-control-sm {
    height: 40px;
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    border-radius: 6px;
}

.apollo-form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: #8EC63F;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(142, 198, 63, 0.25);
}

/* Button Styles */
.apollo-btn-action-wrap {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.apollo-btn-action-wrap .apollo-btn {
    min-width: 160px;
}

.apollo-btn-action-wrap .apollo-btn-primary::before {
    content: "\229E";
    display: inline-block;
    margin-right: 6px;
    font-size: 1.2em;
}

.apollo-btn-action-wrap .apollo-btn-secondary::before {
    content: "\21BB";
    display: inline-block;
    margin-right: 6px;
    font-size: 1.2em;
}

.apollo-btn-lg {
    padding: 0.5rem 1.5rem;
    font-size: 1.1rem;
    border-radius: 0.3rem;
    font-weight: 600;
}

.apollo-btn {
    display: inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    text-decoration: none;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.apollo-btn-primary {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

.apollo-btn-primary:hover {
    color: #fff;
    background-color: #0069d9;
    border-color: #0062cc;
}

.apollo-btn-secondary {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

.apollo-btn-secondary:hover {
    color: #fff;
    background-color: #5a6268;
    border-color: #545b62;
}

.apollo-btn-info {
    color: #fff;
    background-color: #17a2b8;
    border-color: #17a2b8;
}

.apollo-btn-info:hover {
    color: #fff;
    background-color: #138496;
    border-color: #117a8b;
}

/* Utility Classes */
.apollo-vh-soft {
    background: #fff;
    border: 1px solid #eef1f4;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.apollo-vh-kpi {
    background: #f5fbf7;
    border: 1px solid #d8f0de;
}

.apollo-vh-kpi-blue {
    background: #f3f7ff;
    border: 1px solid #dbe7ff;
}

.apollo-vh-muted {
    color: #6b7280;
    font-size: 0.925rem;
}

.apollo-vh-label {
    font-weight: 600;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.50rem;
    color: #002D6A;
}

.apollo-vh-subtle {
    font-size: 0.8rem;
    color: #6b7280;
}

.apollo-vh-mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

/* Spacing Utilities */
.apollo-mb-0 { margin-bottom: 0 !important; }
.apollo-mb-1 { margin-bottom: 0.25rem !important; }
.apollo-mb-2 { margin-bottom: 0.5rem !important; }
.apollo-mt-1 { margin-top: 0.25rem !important; }
.apollo-mt-2 { margin-top: 0.5rem !important; }
.apollo-mt-3 { margin-top: 1rem !important; }
.apollo-mr-2 { margin-right: 0.5rem !important; }
.apollo-p-2 { padding: 0.5rem !important; }
.apollo-p-3 { padding: 1rem !important; }

/* Button Group */
.apollo-btn-group {
    display: flex;
    gap: 0.25rem;
    margin-top: 0.5rem;
}

.apollo-btn-group .apollo-btn {
    flex: 1;
    font-size: 0.8rem;
    padding: 0.3rem 0.5rem;
}

/* Typography */
.apollo-h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.2;
}

.apollo-h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.2;
}

.apollo-h5 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.2;
}

.apollo-display-4 {
    font-size: 3.5rem;
    font-weight: 300;
    line-height: 1.2;
}

.apollo-font-weight-bold {
    font-weight: 700 !important;
}

.apollo-text-center {
    text-align: center !important;
}

.apollo-text-primary {
    color: #007bff !important;
}

/* Print Report Styles */
.apollo-print-report {
    display: none;
}

.apollo-print-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.apollo-print-header img {
    height: 42px;
}

.apollo-print-header h2 {
    margin: 0 0 4px;
    font-size: 20px;
}

.apollo-sub {
    color: #6b7280;
    font-size: 12px;
}

.apollo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 10px;
}

.apollo-print-report table {
    width: 100%;
    border-collapse: collapse;
}

.apollo-print-report th,
.apollo-print-report td {
    text-align: left;
    padding: 8px 10px;
    border-bottom: 1px solid #e5e7eb;
}

.apollo-print-report th {
    background: #f8fafc;
    font-weight: 600;
}

.apollo-print-report .apollo-tot {
    font-weight: 700;
}

.apollo-brand-bar {
    height: 4px;
    background: #0ea5e9;
    margin: 8px 0 14px;
}

/* Results Section */
#apollo-results {
    animation: apolloFadeIn 0.4s ease;
}

@keyframes apolloFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Print Styles */
@page {
    size: Letter portrait;
    margin: 0.5in;
}

@media print {
    .apollo-calculator-section {
        display: none !important;
    }
    
    .apollo-print-report {
        display: block !important;
        font-size: 12px;
        line-height: 1.35;
        color: #111;
    }
    
    .apollo-print-report h2 {
        font-size: 24px;
        letter-spacing: 0.2px;
    }
    
    .apollo-print-report table {
        font-size: 12px;
    }
    
    .apollo-print-report td:last-child,
    .apollo-print-report th:last-child {
        text-align: right;
    }
}

/* Responsive Design */
@media (max-width: 767.98px) {
    .apollo-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .apollo-grid {
        grid-template-columns: 1fr;
    }
    
    .apollo-display-4 {
        font-size: 2.5rem;
    }
}