/* Dark Theme Styling */
body {
    font-family: Arial, sans-serif;
    background-color: #1e1e1e;
    color: #ffffff;
    margin: 0;
    padding: 20px;
    overflow-y: scroll; 
}
.container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #252526;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}
h1 {
    color: #4CAF50; /* A greenish color for the title */
    border-bottom: 2px solid #383838;
    padding-bottom: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}
.header-logo {
    width: 30px; 
    height: 30px;
    margin-right: 10px;
    vertical-align: middle;
}
p {
    line-height: 1.6;
    margin-bottom: 20px;
    color: #cccccc;
}

/* --- Hyperlink Styles --- */
a {
    color: #4CAF50; /* Standard link color (Your accent green) */
    text-decoration: none; /* Remove underline by default */
    transition: color 0.2s;
}

a:hover {
    color: #66BB6A;
    text-decoration: underline;
}

/* REMOVED: Style for generic action links (View Metering Guide) */

/* NEW: GitHub Button Style - Now styled as a simple green text link */
.github-button {
    /* Reset all button styles */
    display: inline;
    background: none;
    border: none;
    padding: 0;
    font-weight: normal;
    
    /* Apply green text style */
    color: #4CAF50; 
    text-decoration: underline; 
    margin-left: 0;
    margin-top: 0;
}

.github-button:hover {
    color: #66BB6A;
    text-decoration: underline;
}

/* Remove icon placeholder styling */
.github-icon {
    display: none; /* Hide the icon element */
}
/* Ensure the icon content is also removed if it was being used */
.github-icon::before {
    content: ""; 
}


/* --- Tab Styles --- */
.tabs {
    border-bottom: none;
    margin-bottom: 0; 
    display: flex;
    overflow-x: hidden; 
    overflow-y: hidden; 
    background-color: #252526; 
    padding-left: 0;
    padding-top: 10px;
}
.tab-button {
    background-color: #333333; 
    color: #cccccc;
    border: 1px solid #333333; 
    border-bottom: none; 
    outline: none;
    cursor: pointer;
    padding: 10px 18px;
    transition: all 0.2s;
    font-size: 1em;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    margin-right: 2px; 
    white-space: nowrap;
}
.tab-button:hover:not(.active) {
    background-color: #383838;
    color: #ffffff;
}
.tab-button.active {
    background-color: #252526; 
    color: #4CAF50; 
    border-top: 1px solid #4CAF50;
    border-left: 1px solid #4CAF50;
    border-right: 1px solid #4CAF50;
    border-bottom: 1px solid #252526; 
    margin-bottom: -1px; 
}

.tab-content {
    display: none; 
    padding: 20px 0 0 0; 
    border-top: 1px solid #4CAF50; 
}
.active-tab {
    display: block; 
}

/* --- Content Styles --- */
.section-title {
    color: #4CAF50;
    margin-top: 20px;
    margin-bottom: 15px;
    font-size: 1.2em;
}
.feature-options label {
    margin-right: 20px;
    display: inline-block;
    cursor: pointer;
}
.input-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding: 5px 0;
    border-bottom: 1px dashed #383838;
}
.input-group label {
    flex-basis: 70%;
}
.input-group input[type="number"] {
    flex-basis: 25%;
    padding: 8px;
    border: 1px solid #383838;
    border-radius: 4px;
    background-color: #333333;
    color: #ffffff;
    text-align: right;
    -moz-appearance: textfield;
}
.input-group input[type="number"]::-webkit-outer-spin-button,
.input-group input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#calculate-btn {
    background-color: #4CAF50;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    margin-top: 20px;
    width: 100%;
    transition: background-color 0.3s;
}
#calculate-btn:hover {
    background-color: #45a049;
}
#results-section {
    margin-top: 30px;
    padding: 20px;
    background-color: #333333;
    border-radius: 4px;
    white-space: pre-wrap;
    min-height: 50px;
    font-size: 1.1em;
    color: #4CAF50;
    border: 1px solid #4CAF50;
}
.error {
    color: #FF6347;
    font-weight: bold;
}
.question-list {
    list-style-type: disc;
    padding-left: 25px;
    color: #cccccc;
}
.question-list li {
    margin-bottom: 10px;
}
.question-list li strong {
    color: #ffffff;
}