/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    height: 100vh;
    color: #fff;
    overflow-x: hidden;
}

/* 🔷 ANIMATED GRADIENT BACKGROUND */
body::before {
    content: "";
    position: fixed;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        120deg,
        #1e3a8a,
        #2563eb,
        #7c3aed,
        #ec4899
    );
    animation: gradientMove 12s ease infinite;
    z-index: -1;
}

@keyframes gradientMove {
    0% { transform: translate(0,0); }
    50% { transform: translate(-25%, -25%); }
    100% { transform: translate(0,0); }
}

/* 🔷 GLASS CARD */
.glass {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* 🔷 INPUTS */
input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: none;
    border-radius: 8px;
    outline: none;
}

/* 🔷 BUTTON */
button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #3b82f6, #ec4899);
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
}

button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

/* 🔷 LAYOUT */
.app {
    display: flex;
}

/* 🔷 SIDEBAR */
.sidebar {
    width: 260px;
    height: 100vh;
    padding: 20px;
    position: fixed;
}

.sidebar h2 {
    margin-bottom: 30px;
}

.sidebar ul {
    list-style: none;
}

.sidebar ul li {
    margin: 12px 0;
}

.sidebar ul li a {
    text-decoration: none;
    color: #fff;
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 10px;
    transition: 0.3s;
}

.sidebar ul li a:hover {
    background: rgba(255,255,255,0.15);
    transform: translateX(5px);
}

/* 🔷 MAIN CONTENT */
.main {
    margin-left: 280px;
    padding: 30px;
    width: 100%;
}

/* 🔷 CARDS */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.card {
    padding: 20px;
    border-radius: 16px;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px) scale(1.02);
}

/* 🔷 FOOTER */
.footer {
    margin-top: 40px;
    opacity: 0.7;
    font-size: 14px;
}

/* 🔷 LOGIN CENTER */
.centered {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}