:root {
    --brand-purple: #45132C;
    --brand-pink: #C23D74;
    --brand-cream: #E9E5D5;
    
    --primary: var(--brand-pink);
    --primary-hover: #a33362;
    --secondary: var(--brand-purple);
    --secondary-hover: #2b0b1b;
    --bg-color: var(--brand-cream);
    --surface: transparent;
    --text-main: #333333;
    --border: #d1c9b8;
    --radius: 12px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 30px rgba(69, 19, 44, 0.08);
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-top: 0;
    color: var(--brand-purple);
}

.hidden {
    display: none !important;
}

/* Typography Enhancements */
.instruction-text {
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    color: var(--brand-purple);
}

.req {
    color: var(--brand-pink);
    font-weight: 600;
    margin-left: 2px;
}

.req-legend {
    font-size: 0.9rem;
    color: var(--brand-purple);
    margin-bottom: 24px;
    font-weight: 600;
}

.section-title {
    font-size: 1.35rem;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border);
    color: var(--brand-purple);
}

.form-title {
    text-align: center;
    color: var(--brand-purple);
    margin-bottom: 16px;
    font-size: 2rem;
}

.form-intro {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.05rem;
    color: var(--text-main);
}
.form-intro p {
    margin: 4px 0;
}

.video-guidance {
    font-size: 0.95rem;
    margin-top: 0;
    margin-bottom: 12px;
    color: var(--text-main);
    font-weight: 500;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 20px 15px;
    text-align: center;
    color: var(--brand-purple);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    background: transparent;
    padding: 20px 30px;
    border-radius: 0;
    box-shadow: none;
}

.hero-title {
    font-size: 1.75rem;
    margin-bottom: 0;
    line-height: 1.2;
    color: #FFFFFF;
    text-shadow: none;
}

/* Main Container */
.container {
    max-width: 800px;
    margin: 30px auto 60px;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

/* Intro Section */
.intro-section {
    margin-bottom: 0;
    text-align: center;
    padding: 0 0 10px !important;
}
.intro-section p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
    color: var(--text-main);
}

/* Forms & Cards */
.card {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 20px 0;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--brand-purple);
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
    background: #ffffff;
    color: var(--text-main);
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    padding: 14px 16px;
    padding-right: 40px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10'%3E%3Cpath d='M1 1l7 7 7-7' stroke='%2345132C' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    color: var(--text-main);
}

input[type="file"] {
    width: 100%;
    padding: 10px 16px;
    border: 2px dashed var(--brand-purple);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.7);
    color: var(--text-main);
    cursor: pointer;
}
input[type="file"]:hover {
    border-color: var(--brand-pink);
    background: #ffffff;
}
input[type="file"]:focus {
    outline: none;
    border-color: var(--brand-pink);
    box-shadow: 0 0 0 4px rgba(194, 61, 116, 0.15);
}
input[type="file"]::file-selector-button {
    background: var(--brand-purple);
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    margin-right: 16px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: background 0.3s;
}
input[type="file"]::file-selector-button:hover {
    background: var(--secondary-hover);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--brand-pink);
    box-shadow: 0 0 0 4px rgba(194, 61, 116, 0.15);
}

.counter-text {
    font-size: 0.85rem;
    color: var(--text-main);
    text-align: right;
    margin-top: 8px;
    font-weight: 400;
}
.counter-text.error {
    color: var(--brand-pink);
    font-weight: 600;
}

/* Declarations section styling */
.declarations-group {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--border);
}

/* Checkbox Styles */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
    padding: 4px 0;
}

.checkbox-group input[type="checkbox"] {
    width: 24px;
    height: 24px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--brand-pink);
    flex-shrink: 0;
}

.checkbox-group label {
    font-weight: 600;
    margin-bottom: 0;
    cursor: pointer;
    color: var(--brand-purple);
    line-height: 1.5;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 32px;
    border: none;
    border-radius: 999px;
    font-size: 1.15rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    text-decoration: none;
}

.btn-primary {
    background: var(--brand-pink);
    color: #fff;
    box-shadow: 0 4px 12px rgba(194, 61, 116, 0.2);
}
.btn-primary:hover:not(:disabled) {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(194, 61, 116, 0.3);
}

.btn-secondary {
    background: var(--secondary);
    color: #fff;
}
.btn-secondary:hover:not(:disabled) {
    background: var(--secondary-hover);
}

.btn-block {
    width: 100%;
    display: block;
    margin-top: 30px;
}

.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Alerts */
.alert {
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-weight: 600;
    text-align: center;
}
.alert.error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

/* Success Container */
#success-container {
    text-align: center;
    padding: 40px 0;
}
.success-icon {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: rgba(194, 61, 116, 0.1);
    color: var(--brand-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}
.success-text {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-top: 10px;
}

/* Share Panel */
.share-panel {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    margin: 30px 0 10px;
    text-align: center;
    box-shadow: var(--shadow-md);
}
.share-panel h3 {
    color: var(--brand-purple);
    margin-bottom: 10px;
}
.share-url-container {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}
.share-url-container input {
    flex-grow: 1;
    background: #fff;
    font-weight: 600;
    color: var(--brand-purple);
}
.share-url-container .btn {
    border-radius: 8px;
    white-space: nowrap;
    padding: 14px 24px;
    font-size: 1rem;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .hero-title { font-size: 2rem; }
    .hero { padding: 15px; }
    .hero-content { padding: 15px 20px; }
    .container { margin-top: 20px; padding: 15px; }
    .card { padding: 10px 0; }
    .intro-section { padding: 0 0 10px !important; margin-bottom: 0; }
    #success-container { padding: 20px 0; }
    .share-url-container { flex-direction: column; }
    .section-title { font-size: 1.2rem; }
    .form-title { font-size: 1.6rem; }
}

#wbx-powered-by-slot {
    margin-top: 1px;
    margin-bottom: 1px;
    display: flex;
    justify-content: center;
}

.btn-block {
    margin-bottom: 1px !important;
}

#wbx-powered-by-slot {
    margin-top: 0 !important;
    margin-bottom: 1px !important;
}