﻿body, p {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 14px;
}

p{line-height:35px;}

.orange-link:hover {
    background-color: #ff8c00;
    color: #ffffff;
}

.tabs {
    display: flex;
    cursor: pointer;
    border-bottom: 2px solid #ddd;
}

.tab {
    padding: 10px 20px;
    margin-right: 10px;
    color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px 5px 0 0;
    transition: background-color .3s;
    text-decoration: none;
    background-color: #ff7f00;
}

a.tab:hover, a.tab:visited {
    text-decoration: none;
    color: #ffffff;
}

.site-header {
    background: #2c3e50;
    color: #fff;
    padding: 15px 0;
    text-align: center;
}

.site-header h1 {
    margin: 0;
    font-size: 36px;
}

.site-header p {
    margin-top: 10px;
    color: #ddd;
}

.navbar {
    margin-bottom: 0;
    border-radius: 0;
}

/* ==========================================================================
   1. Structural Containers & Card Panels
   ========================================================================== */
.p-md { 
    padding: 25px; 
    background: #ffffff; 
    border: 1px solid #e3e3e3; 
    border-radius: 4px; 
    box-shadow: 0 1px 1px rgba(0,0,0,.05); 
}

.p-row { 
    padding-top: 6px; 
    padding-bottom: 6px; 
}

.border-bottom { 
    border-bottom: 1px solid #eeeeee; 
}

/* ==========================================================================
   2. Custom Header Accent Configurations
   ========================================================================== */
.bg-header-main { 
    background-color: #f1f3f5 !important;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.row-header-padding {
    padding: 12px 18px !important;
    margin-left: -25px !important;
    margin-right: -25px !important;
}

.font-header-custom {
    color: #333333 !important;
    font-weight: 700 !important;
}

/* ==========================================================================
   3. Form Inputs & Button Layout Custom Modifications
   ========================================================================== */
.full-width-input { 
    width: 100% !important; 
}

/* Standardized Custom Input Styling */
.input-custom {
    width: 100%;
    height: 40px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555555;
    background-color: #ffffff;
    background-image: none;
    border: 1px solid #cccccc;
    border-radius: 4px;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    box-sizing: border-box;
}

.input-custom:focus {
    border-color: #ff7f00;
    outline: 0;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(255, 127, 0, 0.6);
}

/* Core Base Button Style Rules */
.button {
    display: inline-block;
    margin-bottom: 0;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    white-space: nowrap;
    
    /* Increased side padding to 54px to make the button longer */
    padding: 8px 54px;
    font-size: 14px;
    line-height: 1.42857143;
    
    border-radius: 4px;
    user-select: none;
    box-sizing: border-box;
    transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
	
}

/* Theme Block Layout (Vivid Medium Green) */
.button-main {
    width:300px;
    color: #ffffff;
    background-color: #388e3c; /* Darkens nicely on hover for distinct feedback */
    border-color: #2e7d32;
}

.button-main:hover, .button-main:focus {
	    background-color: #4caf50; /* Solid medium green for clear visibility */
    border-color: #43a047;

    color: #ffffff;
    outline: none;
}

.control-label { 
    margin-bottom: 8px; 
    font-weight: 600; 
    color: #444; 
    display: block; 
}

/* ==========================================================================
   4. Balanced Data Row Settings (Outputs & Comparison Matrix)
   ========================================================================== */
.py-3-custom { 
    padding-top: 10px !important; 
    padding-bottom: 10px !important; 
}

.pb-3-custom { 
    padding-bottom: 10px !important; 
}

.text-success-heavy { color: #2b542c; }
.text-info-heavy { color: #245269; }
.bg-light { background-color: #fcfcfc; }
.bg-white { background-color: #ffffff; }
.shadow-sm { box-shadow: 0 1px 2px rgba(0,0,0,.05); }

/* ==========================================================================
   5. Div-Based Touch Scrollable Mechanics (Mobile Amortization Schedule)
   ========================================================================== */
.div-scroll-wrapper {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    margin-bottom: 15px;
}

.schedule-div-row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    white-space: nowrap;
    display: flex !important;
}

.schedule-col {
    display: inline-block;
    padding-left: 8px !important;
    padding-right: 8px !important;
    font-size: 14px;
    vertical-align: middle;
    box-sizing: border-box;
    font-weight: normal !important;
}

.row.font-weight-bold .schedule-col {
    font-weight: bold !important;
}

/* ==========================================================================
   6. Native Spatial & Alignment Modifiers
   ========================================================================== */
.text-left { text-align: left !important; }
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }

.font-weight-bold { font-weight: bold; }
.margin-0 { margin: 0; }
.mt-1 { margin-top: 4px; }
.margin-top-15 { margin-top: 15px; }
.margin-top-20 { margin-top: 20px; }
.margin-top-25 { margin-top: 25px; }
.margin-top-30 { margin-top: 30px; }
.margin-bottom-10 { margin-bottom: 10px; }
.margin-bottom-20 { margin-bottom: 20px; }
.margin-bottom-25 { margin-bottom: 25px; }
.px-lg { padding-left: 35px; padding-right: 35px; }

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

/* ==========================================================================
   7. Viewport Media Boundaries
   ========================================================================== */
@media (min-width: 768px) {
    .display-flex-sm { display: flex; }
    .text-right-sm { text-align: right; }
    .text-left-sm { text-align: left; }
    .text-center-sm { text-align: center; }

    /* DESKTOP MODE: Expand wrappers to scale natively across container layout spans */
    .div-scroll-wrapper {
        border: none !important;
        overflow: visible !important;
    }
    .div-scroll-inner {
        width: 100% !important;
        min-width: 100% !important;
        display: block !important;
    }
    .schedule-div-row {
        width: 100% !important;
        display: table !important; 
        table-layout: fixed;
    }
    .schedule-col {
        display: table-cell !important;
        vertical-align: middle;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

    /* Proportional distribution for desktop (Sums to 100% cleanly) */
    .schedule-table .w-date    { width: 14%; }
    .schedule-table .w-num     { width: 10%; }
    .schedule-table .w-amt     { width: 13%; }
    .schedule-table .w-extra   { width: 15%; }
    .schedule-table .w-tax     { width: 15%; }
    .schedule-table .w-balance { width: 16%; }
}

@media (max-width: 767px) {
    /* MOBILE MODE: Enable standard pixel-locked overflow container tracks */
    .div-scroll-inner {
        display: inline-block;
        min-width: 100%;
    }
    .schedule-div-row {
        width: max-content;
    }

    /* Fixed mobile pixel tracking allocations */
    .schedule-table .w-date    { width: 110px; }
    .schedule-table .w-num     { width: 85px;  }
    .schedule-table .w-amt     { width: 95px;  }
    .schedule-table .w-extra   { width: 110px; }
    .schedule-table .w-tax     { width: 110px; }
    .schedule-table .w-balance { width: 120px; }

    .container-fluid.calculator-container,
    .container-fluid.output-results,
    .output-results {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .p-md {
        padding: 15px 10px !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    .row-header-padding {
        padding: 12px 10px !important;
        margin-left: -10px !important;
        margin-right: -10px !important;
        border-radius: 0 !important;
    }

    .summary-mobile-left .text-right-xs,
    .summary-mobile-left .col-xs-6 {
        text-align: left !important;
    }

    .text-right-xs { text-align: right; }
    .text-left-xs { text-align: left; }
    .margin-bottom-5-xs { margin-bottom: 5px; }
    .font-weight-bold-xs { font-weight: bold !important; color: #111; }
    .width-110 { width: 115px; display: inline-block; }
    .text-muted { color: #777777; }
    .font-weight-normal { font-weight: normal; }
}
/* Fix for inputs with text addons or radio buttons */
.input-addon-fix {
    display: flex !important;
    align-items: stretch !important;
    width: 100%;
}

.input-addon-fix .input-custom {
    flex: 1 !important;
    max-width: 65% !important; /* Adjusted slightly to give more room to the suffix targets */
    min-width: 0; 
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

/* Wider, high-visibility style layout for raw suffixes ($, %) */
.input-addon-fix .input-unit-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px; /* Increased horizontal room inside the indicator flag */
    min-width: 45px; /* Ensures short units like $ or % have strong visual presence */
    font-size: 14px;
    font-weight: bold;
    color: #555555;
    background-color: #eee;
    border: 1px solid #ccc;
    border-left: none;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    white-space: nowrap;
    box-sizing: border-box;
}

/* Added explicit structural safety rails for multi-button tracks (Year/Month) */
.input-addon-fix .input-group-btn {
    display: flex;
    white-space: nowrap;
    vertical-align: middle;
    min-width: 110px; /* Forces enough layout track width for buttons to fit cleanly */
}

.input-addon-fix .input-group-btn .btn {
    flex: 1; /* Automatically balances width evenly between choice components */
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    margin-left: -1px;
    height: 40px; 
    padding: 6px 12px;
}
/* Container Wrapper Framework */
.va-table-container {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

/* Base Flex Row Definitions */
.va-table-row {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    border-bottom: 1px solid #ddd;
    box-sizing: border-box;
}

.va-table-row:last-child {
    border-bottom: none;
}

/* Header Specific Variations */
.va-table-header {
    background-color: #f5f5f5;
    font-weight: bold;
    border-bottom: 2px solid #ddd;
}

/* Universal Table Cell Sizing */
.va-table-cell {
    padding: 12px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

/* Enforcing Original Percentage Layout Specs on Large Screens */
@media (min-width: 768px) {
    .col-state {
        width: 33%;
        border-right: 1px solid #ddd;
    }
    .col-county {
        width: 33%;
        border-right: 1px solid #ddd;
    }
    .col-limit {
        width: 34%;
    }
}

/* Responsive Mobile Collapse Adjustments */
@media (max-width: 767px) {
    .va-table-header {
        display: none; /* Hides traditional heading bar on phones */
    }
    
    .va-table-row {
        flex-direction: column;
        padding: 8px 0;
    }
    
    .va-table-cell {
        width: 100% !important;
        padding: 6px 16px;
        justify-content: space-between; /* Pushes content value to right boundary */
        border-right: none !important;
    }
    
    /* Dynamically injects context headers out of your attributes tag */
    .va-table-cell::before {
        content: attr(data-label);
        font-weight: bold;
        color: #555;
        padding-right: 10px;
    }
}

.result_data{
	color:#0e8a2f;
	font-weight:bold;
	font-size:20px;
}
/* 1. Base List Styles */
.custom-link-list {
    list-style-type: none; /* Hides the default bullet dot */
    padding-left: 0;       /* Removes standard browser list indentation */
    margin-top: 0;
    margin-bottom: 0;
}

/* 2. List Item Spacing */
.custom-link-list li {
    margin-bottom: 12px;   /* Creates vertical spacing between list items */
}
