/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom, #1e1e2f, #101018);
    color: #fff;
}

/* Header Section */
header {
    text-align: center;
    background: linear-gradient(to right, #ff4500, #ff8c00, #ff4500);
    color: white;
    padding: 20px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.header-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(255, 69, 0, 0.5);
}

/* Auth Container */
.auth-container {
    display: flex;
    justify-content: space-around;
    margin: 30px auto;
    max-width: 800px;
    background: rgba(30, 30, 47, 0.95);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.5);
    backdrop-filter: blur(10px);
}

.auth-container div {
    width: 45%;
    color: #e6e6e6;
}

h2 {
    text-align: center;
    color: #ff8c00;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #ff4500;
}

input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ff4500;
    border-radius: 4px;
    background: #101018;
    color: white;
    font-size: 1rem;
}

button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(to right, #ff4500, #ff8c00);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: background 0.3s ease;
}

button:hover {
    background: linear-gradient(to right, #ff8c00, #ff4500);
    box-shadow: 0 4px 8px rgba(255, 140, 0, 0.6);
}

/* Footer Section */
footer {
    text-align: center;
    padding: 15px;
    background: linear-gradient(to right, #1e1e2f, #101018);
    color: white;
    position: fixed;
    bottom: 0;
    width: 100%;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.4);
}

footer img {
    max-width: 50px;
    margin-top: 10px;
    filter: drop-shadow(0 4px 6px rgba(255, 69, 0, 0.5));
}

/* Input Focus */
input:focus {
    outline: none;
    border: 2px solid #ff8c00;
    background: #181828;
}

/* Media Queries */
@media (max-width: 768px) {
    .auth-container {
        flex-direction: column;
        width: 90%;
    }

    .auth-container div {
        width: 100%;
    }
}




/* Dashboard Styles */
.dashboard-container {
    max-width: 800px;
    margin: 30px auto;
    padding: 20px;
    background: rgba(30, 30, 47, 0.95);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.5);
}

.sensor-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.sensor-item {
    background: #181828;
    color: #e6e6e6;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    flex: 1 1 calc(45% - 20px);
}

.sensor-item h3 {
    color: #ff8c00;
    margin-bottom: 10px;
}

.sensor-item p {
    margin: 5px 0;
}

.view-details {
    display: inline-block;
    margin-top: 10px;
    color: #ff4500;
    text-decoration: none;
    font-weight: bold;
}

.view-details:hover {
    color: #ff8c00;
    text-decoration: underline;
}
