@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Outfit:wght@400;700;900&display=swap');

:root {
    --primary-purple: #5c3b8f;
    --accent-pink: #ed568a;
    --input-bg: #fdf0c3;
    /* Matching the yellowish tint in the image */
    --text-white: #ffffff;
    --dark-border: #3d2a5a;
    --transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background: radial-gradient(circle at center, #7852b3 0%, #462c72 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow: hidden;
    position: relative;
    color: white;
}

/* Background patterns imitation */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4v-4H4v4H0v2h4v4h2v-4h4v-2H6zm30 0v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
}

.container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 550px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 30px;
}

/* Logo Styles */
.logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    margin-bottom: 5px;
}

.logo img {
    max-width: 100%;
    height: auto;
    max-height: 200px;
}

/* Banner Styles */
.title-banner {
    background: var(--accent-pink);
    padding: 10px 40px;
    border-radius: 8px;
    box-shadow: 0 6px 0px rgba(0, 0, 0, 0.2);
    margin: 10px 0 20px 0;
}

.title-banner h1 {
    color: white;
    font-size: 2.8rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin: 0;
}

/* Form Styles */
form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select {
    background: var(--input-bg);
    border: 2.5px solid var(--dark-border);
    border-radius: 10px;
    padding: 12px 20px;
    font-size: 1.2rem;
    font-family: 'Fredoka', sans-serif;
    color: #333;
    outline: none;
    transition: var(--transition);
    width: 100%;
}

input:focus,
select:focus {
    background: #fff;
    border-color: var(--accent-pink);
    transform: translateY(-2px);
}

/* Dropdown */
.select-wrapper {
    width: 100%;
}

select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 18px;
    appearance: none;
    padding-right: 45px;
}

/* Info Box */
.info-box {
    background: var(--input-bg);
    border: 2.5px solid var(--dark-border);
    border-radius: 12px;
    padding: 12px 20px;
    color: #333;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.4;
    font-family: 'Fredoka', sans-serif;
    text-align: center;
}

/* Submit Button */
.submit-btn {
    background: var(--accent-pink);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 35px;
    font-size: 1.8rem;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 6px 0px #c23d6a;
    transition: var(--transition);
    margin-top: 15px;
    align-self: center;
    font-family: 'Outfit', sans-serif;
}

.submit-btn:hover {
    transform: scale(1.05);
    background: #ff6b9d;
}

.submit-btn:active {
    transform: translateY(4px);
    box-shadow: 0 2px 0px #c23d6a;
}

/* Alert Styles */
.alert {
    width: 100%;
    padding: 15px 25px;
    border-radius: 15px;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    position: relative;
    margin-bottom: 20px;
    animation: slideDown 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.alert-success {
    background: #4caf50;
    color: white;
    border: 3px solid #3d8b40;
}

.alert-error {
    background: #f44336;
    color: white;
    border: 3px solid #d32f2f;
}

.alert-icon {
    font-size: 1.5rem;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Decoration */
.decoration {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    opacity: 0.8;
}

.decor-1 {
    top: -20px;
    left: -50px;
    transform: rotate(-15deg);
    width: 250px;
}

.decor-2 {
    bottom: -20px;
    right: -50px;
    transform: rotate(15deg);
    width: 200px;
}

.decor-3 {
    top: 40%;
    right: -30px;
    transform: rotate(10deg);
    width: 100px;
    opacity: 0.4;
}

@media (max-width: 600px) {
    .container {
        padding: 15px;
    }

    .title-banner h1 {
        font-size: 1.8rem;
    }

    .submit-btn {
        font-size: 1.5rem;
        padding: 10px 25px;
    }
}