/* ================================
   BASE
================================ */

html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: #f4f6f9;
    color: #222;
}


/* ================================
   LOGIN
================================ */

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}


.login-card {
    width: 380px;
    background: white;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
}


.logo-area {
    text-align: center;
    margin-bottom: 25px;
}


.store-logo {
    max-width: 180px;
    max-height: 100px;
}



.login-title {
    text-align: center;
    font-size: 24px;
    margin-bottom: 25px;
    font-weight: 600;
}



.form-group {
    margin-bottom: 18px;
}


    .form-group label {
        display: block;
        margin-bottom: 6px;
        font-weight: 500;
    }


.form-control {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    font-size: 15px;
}



.btn-primary {
    width: 100%;
    padding: 12px;
    border: 0;
    border-radius: 8px;
    background: #0067d9;
    color: white;
    cursor: pointer;
    font-size: 16px;
}



    .btn-primary:hover {
        background: #004fa8;
    }




/* ================================
   LAYOUT
================================ */


.main-container {
    max-width: 1200px;
    margin: auto;
    padding: 25px;
}



.navbar {
    height: 60px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
}



.navbar-brand {
    font-size: 20px;
    font-weight: bold;
}



.user-area {
    font-size: 14px;
}



/* ================================
   DEVICE CARD
================================ */


.device-card {
    background: white;
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,.08);
}



.device-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}



.device-name {
    font-size: 20px;
    font-weight: 600;
}



.status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
}


.status-online {
    background: #d4edda;
    color: #155724;
}


.status-offline {
    background: #f8d7da;
    color: #721c24;
}



.sensor-row {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}



.sensor-box {
    flex: 1;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
}



.sensor-value {
    font-size: 22px;
    font-weight: bold;
}


.sensor-label {
    color: #666;
    font-size: 13px;
}
.store-logo {
    font-size: 40px;
    font-weight: 700;
    color: #111;
}



.login-card form {
    margin-top: 20px;
}



.login-card input {
    height: 42px;
}



.login-card button {
    margin-top: 15px;
}