#kWh, h3{
            font-family: 'Courier New', Courier, monospace;
            font-weight: bold;
         }
 body{
    background-image: url("Nucleus.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; }

.container > div:first-child {
    margin-right: 40px;
    max-width: 300px;
}

.container h3 {
    color: #7dd3fc;
    text-shadow: 0 0 6px rgba(125, 211, 252, 0.6);
    margin-bottom: 5px;
}

.container p {
    color: #9ca3af;
    font-size: 14px;
}

.bg-dark {
    background: rgba(40, 45, 55, 0.95) !important;
    border: 2px solid #4b5563;
    box-shadow: 0 0 20px rgba(0,0,0,0.7);
    border-radius: 20px;
    flex-direction: column;
    width: 300px;
}

.bg-dark img {
    margin-bottom: 10px;
    filter: drop-shadow(0 0 6px rgba(125, 211, 252, 0.4));
}

#kWh {
    color: #38bdf8;
    font-weight: bold;
}

input {
    background: #1f2937 !important;
    border: 1px solid #4b5563 !important;
    color: #e5e7eb !important;
    text-align: center;
    border-radius: 8px !important;
}
input:focus {
    border-color: #38bdf8 !important;
    box-shadow: 0 0 8px #38bdf8;
}
input::placeholder {
    color: #60a5fa; 
    opacity: 1;
}

.btn-warning {
    background: linear-gradient(to right, #38bdf8, #2563eb);
    border: none;
    font-weight: bold;
    color: white;
    transition: 0.3s;
}

.btn-warning:hover {
    background: #60a5fa;
    transform: scale(1.05);
}

footer {
    background-color: #1f2937;
    color: #38bdf8;
    text-align: center;
    padding: 15px;
    margin-top: 50px;
    border-top: 3px solid #57a95d;
}

.terminal {
    margin-top: 10px;
    padding: 10px;
    background: #0f172a;
    border: 1px solid #4b5563;
    border-radius: 8px;
    font-family: monospace;
    font-size: 13px;
    text-align: left;
    color: #d1d5db;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.6);
}

.system {
    color: #38bdf8;
    font-weight: bold;
}

.error {
    color: #ef4444;
    font-weight: bold;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.container > div:first-child {
    margin-right: 40px;
    max-width: 300px;
}

.bg-dark {
    display: flex;
    flex-direction: row;  
    flex-wrap: wrap;       
    align-items: center;
    justify-content: center;

    gap: 15px;            

    width: 550px;          
    padding: 20px;
    border-radius: 20px;
}

.bg-dark .top-section {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.bg-dark .bottom-section {
    width: 100%;
}

.result-box {
    width: 100%;           
    margin-top: 10px;

    min-height: 120px;     
    display: flex;
    align-items: flex-start;
}


.terminal {
    width: 100%;
    padding: 12px;

    line-height: 1.6;     
    white-space: normal;   
    font-size: 13px;
}

.bg-dark > * {
    margin-bottom: 10px;
    width: 100%;
} 

.main-layout {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
}

.left-panel {
    max-width: 300px;
}

.left-panel h3 {
    margin-bottom: 10px;
}

.left-panel p {
    font-size: 14px;
}


.machine-panel {
    width: 650px;         
    min-height: 420px;
    padding: 25px;


    display: flex;
    flex-direction: column;
    gap: 20px;

    background: rgba(40, 45, 55, 0.95);
    border-radius: 20px;
    border: 2px solid #4b5563;
}

.panel-image {
    text-align: center;
}

.panel-image img {
    height: 100px;
}

.panel-controls {
    display: flex;
    gap: 10px;
}

.panel-controls input {
    flex: 2; 
}

.panel-controls button {
    flex: 1;
}

.panel-output {
    width: 100%;
}

.result-box {
    width: 100%;
    min-height: 120px;
}

.navbar {
    background-color: rgba(28, 31, 38, 0.95) !important;
    border-bottom: 2px solid #57a95d;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
}

.navbar-brand {
    font-weight: bold;
    color: #7dd3fc !important; 
    text-shadow: 0 0 6px rgba(125, 211, 252, 0.4);
}

.nav-link {
    color: #d6dbe3 !important;
    transition: 0.2s;
}

.nav-link:hover {
    color: #38bdf8 !important; 
    text-shadow: 0 0 5px rgba(56, 189, 248, 0.5);
}

.btn-tf2 {
    background: linear-gradient(to right, #38bdf8, #2563eb);
    border: none;
    color: white;
    font-weight: bold;

    transition: 0.3s;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.2);
}

.btn-tf2:hover {
    background: #60a5fa;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
}

.panel-image img {
    width: 100%;     
    height: auto;    
    max-height: 330px;    
    object-fit: cover;    

    border-radius: 12px;
    border: 1px solid #4b5563;
}