:root {
    --bg: #dfe6e9;      /* Color 1: Soft Grey */
    --text: #2d3436;    /* Color 2: Deep Slate */
    --accent: #0984e3;  /* Color 3: Accent Blue */
    --white: #ffffff;    /* Color 4: Pure White */
    --shadow: 8px 8px 16px #bcbcbc, -8px -8px 16px #ffffff;
    --inner-shadow: inset 4px 4px 8px #bcbcbc, inset -4px -4px 8px #ffffff;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    margin: 0;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 40px;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.glass-3d {
    background: var(--bg);
    border-radius: 20px;
    padding: 25px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255,255,255,0.2);
}

.responses { grid-column: span 2; }

/* Form Styling */
form { display: flex; flex-direction: column; }
label { font-size: 0.9rem; font-weight: bold; margin: 10px 0 5px; }

input, select, textarea {
    border: none;
    padding: 12px;
    border-radius: 10px;
    background: var(--bg);
    box-shadow: var(--inner-shadow);
    color: var(--text);
    outline: none;
}

button {
    margin-top: 20px;
    padding: 15px;
    border: none;
    border-radius: 10px;
    background: var(--accent);
    color: white;
    font-weight: bold;
    box-shadow: 4px 4px 8px #b1b1b1;
    cursor: pointer;
    transition: 0.3s;
}

button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 6px 6px 12px #b1b1b1;
}

button:disabled { opacity: 0.5; cursor: not-allowed; }

/* Table Styling */
table { width: 100%; border-collapse: collapse; margin-top: 20px; }
th { text-align: left; padding: 15px; border-bottom: 2px solid var(--accent); }
td { padding: 15px; border-bottom: 1px solid rgba(0,0,0,0.05); }

.btn-edit { color: var(--accent); background: none; box-shadow: none; padding: 5px 10px; }
.btn-delete { color: #d63031; background: none; box-shadow: none; padding: 5px 10px; }

.stats-panel { display: flex; flex-direction: column; gap: 20px; }
.stat-card { text-align: center; }
.stat-card span { font-size: 2rem; font-weight: bold; color: var(--accent); }