/* Global Reset & Styling */
body {
    background-color: #0b0b0b;
    color: #cfcfcf;
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
}

/* Glassmorphism Card Container */
.calculator-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 30px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.calculator-card h2 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 5px;
    text-align: center;
}

.subtitle {
    color: #888;
    font-size: 0.85rem;
    text-align: center;
    margin-bottom: 25px;
}

/* Form Inputs */
.input-group {
    margin-bottom: 15px;
    text-align: left;
}

.input-group label {
    display: block;
    font-size: 0.85rem;
    color: #aaa;
    margin-bottom: 5px;
}

input {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    box-sizing: border-box;
    outline: none;
    transition: 0.3s;
}

input:focus {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.08);
}

/* Button */
button {
    width: 100%;
    padding: 12px;
    background: #ffffff;
    color: #000000;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 10px;
    transition: 0.3s;
}

button:hover {
    background: #e0e0e0;
}

/* Result Table */
table {
    width: 100%;
    margin-top: 25px;
    border-collapse: collapse;
    font-size: 0.9rem;
}

th, td {
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px;
    text-align: center;
}

th {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-weight: 600;
}

td {
    color: #ccc;
}

.btn-reset {
    background: transparent !important;
    color: #ff5c5c !important;
    border: 1px solid rgba(255, 92, 92, 0.3) !important;
    margin-top: 8px !important;
}

.btn-reset:hover {
    background: rgba(255, 92, 92, 0.1) !important;
    border-color: #ff5c5c !important;
}
