:root {
    --bg-color: #fdf2f8;
    --card-bg: #ffffff;
    --text-primary: #831843;
    --text-secondary: #be185d;
    --accent: #db2777;
    --accent-hover: #bce3eb;
    --border: #fbcfe8;
    --success: #10b981;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
}

.container {
    width: 100%;
    max-width: 1000px;
}

h1 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #ec4899, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    text-align: center;
    color: #9d174d;
    margin-bottom: 3rem;
}

.main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 768px) {
    .main-grid {
        grid-template-columns: 1fr;
    }
}

.card {
    background: var(--card-bg);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 10px 25px -5px rgba(219, 39, 119, 0.15);
    border: 1px solid var(--border);
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

input[type="text"],
textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #fce7f3;
    border-radius: 0.5rem;
    font-family: inherit;
    box-sizing: border-box;
    /* Fix padding issue */
    transition: border 0.3s;
}

input[type="text"]:focus,
textarea:focus {
    border-color: var(--accent);
    outline: none;
}

.mini-drop-zone {
    border: 2px dashed #fbcfe8;
    padding: 1rem;
    text-align: center;
    border-radius: 0.5rem;
    cursor: pointer;
    background: #fff1f2;
    transition: all 0.2s;
}

.mini-drop-zone:hover {
    background: #ffe4e6;
    border-color: var(--accent);
}

.mini-drop-zone input {
    display: none;
}

.theme-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.theme-option {
    cursor: pointer;
}

.theme-option input {
    display: none;
}

.theme-preview {
    height: 100px;
    border-radius: 1rem;
    border: 3px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, border-color 0.2s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.theme-option input:checked+.theme-preview {
    border-color: var(--accent);
    transform: scale(1.05);
    box-shadow: 0 10px 15px rgba(219, 39, 119, 0.2);
}

.btn-primary {
    background: linear-gradient(to right, #ec4899, #8b5cf6);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 2rem;
    cursor: pointer;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
    transition: transform 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(236, 72, 153, 0.4);
}

.result-link {
    display: inline-block;
    margin-top: 1rem;
    font-weight: bold;
    color: var(--accent);
    text-decoration: none;
    font-size: 1.25rem;
    background: #fdf2f8;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    border: 1px dashed var(--accent);
}

.hidden {
    display: none;
}

.animate-in {
    animation: fadeUp 0.5s ease-out forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form Sections */
.form-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #fce7f3;
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h3 {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.form-group small {
    display: block;
    margin-top: 0.25rem;
    color: #9ca3af;
    font-size: 0.85rem;
}

.form-card {
    grid-column: 1 / -1;
}

@media (max-width: 768px) {
    .form-card {
        grid-column: auto;
    }
}

/* Remove Reason Button */
.btn-remove-reason {
    background: #dc2626;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.2s;
    min-width: 40px;
}

.btn-remove-reason:hover {
    background: #991b1b;
}

.reason-item {
    margin-bottom: 1rem;
}

/* Theme Selector */
.theme-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.theme-option {
    cursor: pointer;
    display: block;
}

.theme-option input[type="radio"] {
    display: none;
}

.theme-preview {
    border: 3px solid transparent;
    border-radius: 1rem;
    padding: 2rem 1rem;
    transition: all 0.3s ease;
    height: 100%;
}

.theme-option input[type="radio"]:checked+.theme-preview {
    border-color: #db2777;
    box-shadow: 0 4px 12px rgba(219, 39, 119, 0.3);
    transform: scale(1.02);
}

.theme-preview:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}