:root {
    --soft-grey: #e0e0e0;   /* Background & Surface */
    --deep-slate: #2c3e50;  /* Primary Text */
    --accent-blue: #3498db; /* Buttons & Highlights */
    --pure-white: #ffffff;  /* Light Shadow */
    --shadow-dark: #bebebe; /* Dark Shadow */
}

body {
    background-color: var(--soft-grey);
    color: var(--deep-slate);
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* Floating Animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.floating-text {
    font-size: 3rem;
    font-weight: 800;
    margin: 40px 0;
    color: var(--deep-slate);
    animation: float 4s ease-in-out infinite;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.1);
}

/* Neumorphic Card */
.card {
    background: var(--soft-grey);
    width: 95%;
    max-width: 600px;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 30px;
    box-shadow: 20px 20px 60px var(--shadow-dark),
                -20px -20px 60px var(--pure-white);
}

h2 { margin-top: 0; font-size: 1.5rem; }

/* Inset Form Fields */
input, select {
    width: 100%;
    padding: 15px;
    margin: 10px 0 20px 0;
    border: none;
    border-radius: 15px;
    background: var(--soft-grey);
    box-shadow: inset 6px 6px 12px var(--shadow-dark),
                inset -6px -6px 12px var(--pure-white);
    color: var(--deep-slate);
    font-size: 1rem;
    box-sizing: border-box;
}

label { font-weight: 600; font-size: 0.9rem; }

/* Neumorphic Button */
button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 15px;
    background: var(--accent-blue);
    color: var(--pure-white);
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 6px 6px 12px var(--shadow-dark),
                -6px -6px 12px var(--pure-white);
    transition: all 0.2s ease;
}

button:active {
    box-shadow: inset 4px 4px 8px rgba(0,0,0,0.2);
    transform: scale(0.98);
}

button:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
    box-shadow: none;
}

/* Table Area */
.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.list-header select { width: 40%; margin: 0; }

table { width: 100%; border-collapse: collapse; }
th { text-align: left; padding: 10px; border-bottom: 2px solid var(--accent-blue); }
td { padding: 15px 10px; border-bottom: 1px solid var(--shadow-dark); }

.btn-action {
    width: auto;
    padding: 8px 12px;
    margin: 0 2px;
    font-size: 0.8rem;
    display: inline-block;
}

.btn-edit { background: var(--deep-slate); }
.btn-delete { background: #e74c3c; }