.calc-wrapper .calc-h1,
.calc-wrapper .calc-h2,
.calc-wrapper body {
    /*font-family: "Inconsolata", serif;*/
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-variation-settings: "width" 100;
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.5);
}

.calc-wrapper .calc-h1,
.calc-wrapper .calc-h2 {
    color: #FFFFFF;
    /*padding: 0.25em 0.75em;*/
    border-radius: 6px;
    display: inline-block;
}

.calc-wrapper .calc-h1 {
    background: #FF6500;
    font-size: 32px;
    margin-bottom: 0.5em;
    display: block;
    width: 100%;
    height: 48px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #1E3E62; 
    border-radius: 6px;
    box-sizing: border-box;
}

.calc-wrapper .calc-h2 {
    font-size: 24px;
    background: #1E3E62;
}

.calc-wrapper .calc-canvas-container.show {
    background: #FF6500;
    border-radius: 12px;
    box-shadow: 0 2px 8px #0B192C;
    background: #1E3E62;
    border-radius: 8px;
    box-shadow: 0 1px 4px #0B192C;
    margin-bottom: 1em;
    padding: 1em;
    border: 2px solid #FF6500;
    color: #FFFFFF
}

.calc-wrapper body {
    font-size: 20px;
    background: #0B192C;
    color: #FFFFFF;
    padding: 1em;
    border-radius: 8px;
    margin-top: 1em;
    /* display: none; */
}

.calc-wrapper th {
    background: #FF6500;
    color: #FFFFFF;
}

.calc-wrapper .calc-output {
    background: #1E3E62;
    border: 2px solid #FF6500;
    color: #FFFFFF;
    padding: 1em;
    border-radius: 8px;
    margin-top: 1em;
    display: none;
}

.calc-wrapper .calc-output.show {
    display: block;
    border: 2px solid #FF6500;
}

.calc-wrapper .calc-button {
    width:100%;
    background: #FF6500;
    color: #FFFFFF;
    border: none;
    border-radius: 4px;
    padding: 0.75em 1.5em;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.calc-wrapper .calc-button:hover {
    background: #EE4311;
}

.calc-wrapper .calc-all_forms {
    background: #1E3E62;
    border: 2px solid #FF6500;
    border-radius: 8px;
    padding: 2em;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.calc-wrapper .calc-all_forms label {
    flex: 1;
    text-align: left;
    color: #fff;
}

.calc-wrapper .calc-form-group {
    display: flex;
    flex-direction: line;
    align-items: right;
    justify-content: space-between;
    gap: 0.5em;
}

.calc-wrapper .calc-canvas-item {
    background: #1E3E62;
    border-radius: 8px;
    box-shadow: 0 1px 4px #0B192C;
    margin-bottom: 1em;
    padding: 1em;
    border: 2px solid #FF6500;
}


.calc-wrapper {
  width: 100%;        /* fill the available space */
  max-width: 480px;   /* but never grow beyond 480px */
  margin: 0 auto;     /* center horizontally */
  padding: 1em;
}

.calc-wrapper .calc-footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #1E3E62;
    color: #f5e6ca;
    text-align: center;
    z-index: 4;
    padding: 5px 0; /* Add some padding for better appearance */
}

.calc-wrapper table {
    width: 100%;
    table-layout: fixed;
}

.calc-wrapper table,
.calc-wrapper th,
.calc-wrapper td {
    color: #FFFFFF;
    border: 2px solid #0B192C;
    border-collapse: collapse;
}

.calc-wrapper td {
    padding: 0.5em 1em;
}

.calc-wrapper .calc-button,
.calc-wrapper button.calc-button {
    background: #FF6500;
    color: #FFFFFF !important;
    border: none;
    border-radius: 4px;
    padding: 0.75em 1.5em;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}
.calc-wrapper .calc-button:hover,
.calc-wrapper button.calc-button:hover {
    background: #EE4311;
}
.calc-wrapper,
.calc-wrapper p,
.calc-wrapper label,
.calc-wrapper .box-calc-output {
    color: #FFFFFF;
}
.hidden {
    display: none !important;
}

.red {
    background: #EE4311 !important;
    color: #fff !important;
}