/* =========================================================
   GLOBAL RESET
========================================================= */

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

/* =========================================================
   HEADER
========================================================= */

.header-wrapper {
    padding: 20px;
}

.header {
    background: white;
    height: 120px;              /* EXACT SAME */
    display: flex;
    align-items: stretch;       /* IMPORTANT */
    padding: 0;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.logo-section {
    display: flex;
    align-items: center;
}

.thermo {
    background: #ff0d00;
    color: white;
    padding: 100% 55px;         /* EXACT SAME */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tf {
    font-size: 34px;
    font-weight: bold;
}

.sc {
    font-size: 17px;
    letter-spacing: 14px;
    margin-left: 4px;
}

.ppd {
    margin-left: 55px;
    font-size: 56px;
    font-weight: bold;
    color: #5a2d82;
    display: flex;
    align-items: center;
}

/* =========================================================
   BACK BUTTON
========================================================= */

.back-button-container {
    padding: 0 20px;
    margin: 15px 0;
}

#backBtn {
    height: 45px;
    width: 190px;
    border: none;
    border-radius: 8px;
    background: #777;
    color: white;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
}

#backBtn:hover {
    background: #555;
}

/* =========================================================
   FOOTER (Future Use)
========================================================= */

.footer {
    margin-top: 40px;
    padding: 20px;
    text-align: center;
    background: #f4f4f4;
    font-size: 13px;
    color: #777;
}

/* =========================================================
   GLOBAL MESSAGE MODAL
========================================================= */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-card {
    background: white;
    width: 400px;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    animation: fadeIn 0.2s ease-in-out;
}

.modal-card h3 {
    margin-top: 0;
}

.modal-card.success h3 {
    color: #2ecc71;
}

.modal-card.error h3 {
    color: #e53935;
}

.modal-card button {
    margin-top: 20px;
    width: 100px;
    height: 40px;
    border: none;
    border-radius: 6px;
    background: #5a2d82;
    color: white;
    cursor: pointer;
}

.modal-card button:hover {
    background: #4a226e;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}