*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family: Arial, sans-serif;
}

body{
    background: linear-gradient(135deg,#0f172a,#1e293b);
    color:white;
    min-height:100vh;
}

.container{
    width:100%;
    max-width:450px;
    margin:50px auto;
    background:#ffffff10;
    backdrop-filter:blur(12px);
    padding:35px;
    border-radius:20px;
    box-shadow:0 0 25px rgba(0,0,0,0.3);
}

h1,h2,h3{
    text-align:center;
    margin-bottom:20px;
	}

input{
    width:100%;
    padding:14px;
    border:none;
    border-radius:10px;
    margin-bottom:15px;
    background:#f1f5f9;
}

button{
    width:100%;
    padding:14px;
    border:none;
    border-radius:10px;
    background:#2563eb;
    color:white;
    font-size:16px;
    cursor:pointer;
    transition:0.3s;
}
button:hover{
    background:#1d4ed8;
}

a{
    color:#38bdf8;
    text-decoration:none;
}

.navbar{
    background:#020617;
    padding:20px;
    text-align:center;
    font-size:24px;
    font-weight:bold;
}

.dashboard{
    width:90%;
    margin:30px auto;
}
.card{
    background:#ffffff10;
    backdrop-filter:blur(10px);
    border-radius:20px;
    padding:20px;
    margin-bottom:20px;
}

.relay-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(120px,1fr));
    gap:15px;
    margin-top:20px;
}

.relay-btn{
    padding:20px;
    border-radius:15px;
    border:none;
    color:white;
    font-size:18px;
    font-weight:bold;
}
.on{
    background:#16a34a;
}

.off{
    background:#dc2626;
}

.logout{
    background:#ef4444;
    margin-top:20px;
}

.hero{
    text-align:center;
    padding:60px 20px;
}

.hero h1{
    font-size:50px;
}
.hero p{
    margin-top:20px;
    font-size:18px;
    color:#cbd5e1;
}

.hero-buttons{
    margin-top:40px;
}

.hero-buttons a{
    padding:15px 30px;
    border-radius:10px;
    background:#2563eb;
    margin:10px;
    display:inline-block;
    color:white;
    font-weight:bold;
}
