body {
    font-family: Arial, sans-serif;
    margin: 0;
    background: #fff0f5;
    color: #333;
}

/* HEADER */
header {
    background: linear-gradient(90deg, #ff69b4, #ff1493);
    color: white;
    padding: 25px;
    text-align: center;
}

/* BACK NAV (FIXED CLICKABLE BUTTON LOOK) */
.navbar {
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 999;
}

.back-btn {
    display: inline-block;
    padding: 10px 14px;
    background: #ff1493;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(255,20,147,0.3);
}

.back-btn:hover {
    background: #e60073;
}

/* LAYOUT (BETTER SPACING) */
.container {
    display: flex;
    gap: 25px;
    justify-content: center;
    padding: 30px;
    flex-wrap: wrap;
}

/* CARDS (CLEAN UX) */
.survey-form,
.preview {
    background: white;
    border-radius: 15px;
    padding: 25px;
    width: 400px;
    box-shadow: 0 8px 20px rgba(255,105,180,0.15);
}

/* HEADINGS */
h2 {
    color: #ff1493;
    text-align: center;
    margin-bottom: 15px;
}

/* INPUTS (CLEANER SPACING) */
label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

input, textarea, select {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 2px solid #ffd1dc;
    border-radius: 8px;
}

/* STARS */
.stars {
    font-size: 26px;
    cursor: pointer;
    margin: 10px 0;
}

.stars span {
    color: #ccc;
    transition: 0.2s;
}

.stars span.active {
    color: #ff1493;
}

/* BUTTON */
button {
    width: 100%;
    padding: 12px;
    margin-top: 15px;
    background: #ff69b4;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}

button:hover:not(:disabled) {
    background: #ff1493;
}

button:disabled {
    background: #ccc;
}

/* PREVIEW BOX */
.preview-box {
    background: #fff5f8;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ffd1dc;
}

/* TABLE */
.responses {
    padding: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
}

th {
    background: #ff69b4;
    color: white;
    padding: 12px;
}

td {
    padding: 12px;
    border-bottom: 1px solid #ffd1dc;
}

/* RESET */
.reset {
    margin-top: 10px;
    background: #ff1493;
}