a, input, textarea, button {
    -webkit-tap-highlight-color: transparent;
}

@media (max-width: 600px) {
    .container {
        max-width: 98vw;
        margin: 24px 1vw 16px 1vw;
        padding: 18px 4vw 18px 4vw;
        border-radius: 12px;
        box-shadow: 0 2px 12px 0 rgba(60,80,180,0.10), 0 1px 3px 0 rgba(0,0,0,0.04);
    }
    h1 {
        font-size: 1.3rem;
        margin-bottom: 7px;
    }
    h2 {
        font-size: 1rem;
        margin-bottom: 12px;
    }
    p {
        font-size: 0.97rem;
    }
    input[type="text"], textarea {
        font-size: 15px;
        padding: 11px 10px;
        margin-bottom: 12px;
    }
    textarea {
        min-height: 110px;
        font-size: 14px;
    }
    button {
        font-size: 15px;
        padding: 11px;
        margin-top: 2px;
        margin-bottom: 4px;
    }
}

@media (max-width: 400px) {
    .container {
        padding: 8px 1vw 8px 1vw;
    }
    h1 {
        font-size: 1.05rem;
    }
    h2 {
        font-size: 0.9rem;
    }
    p {
        font-size: 0.9rem;
    }
    input[type="text"], textarea {
        font-size: 13px;
        padding: 8px 6px;
    }
    textarea {
        min-height: 70px;
        font-size: 12.5px;
    }
    button {
        font-size: 13px;
        padding: 8px;
    }
}
body {
    background: linear-gradient(135deg, #e0e7ff 0%, #f4f4f4 100%);
    font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

.container {
    background: #fff;
    max-width: 440px;
    margin: 64px auto 32px auto;
    padding: 36px 28px 28px 28px;
    border-radius: 18px;
    box-shadow: 0 6px 32px 0 rgba(60,80,180,0.10), 0 1.5px 6px 0 rgba(0,0,0,0.04);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.container:before {
    content: '';
    position: absolute;
    top: -60px;
    left: -60px;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, #6366f1 0%, #a5b4fc 100%);
    opacity: 0.12;
    z-index: 0;
    border-radius: 50%;
}

h1 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 2.1rem;
    color: #3730a3;
    letter-spacing: 0.5px;
    font-weight: 700;
    z-index: 1;
    position: relative;
}

h2 {
    margin-bottom: 20px;
    color: #444;
    font-size: 1.2rem;
    font-weight: 500;
    z-index: 1;
    position: relative;
}

p {
    color: #555;
    z-index: 1;
    position: relative;
}

select, input[type="text"], input[type="number"], textarea {
    width: 100%;
    padding: 13px 14px;
    margin-bottom: 16px;
    border: 1.5px solid #c7d2fe;
    border-radius: 6px;
    font-size: 16px;
    background: #f8fafc;
    color: #222;
    outline: none;
    transition: border 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    font-family: inherit;
}

select, input[type="text"]:focus, input[type="number"]:focus, textarea:focus {
    border: 1.5px solid #6366f1;
    box-shadow: 0 0 0 2px #a5b4fc44;
}

textarea {
    min-height: 180px;
    resize: vertical;
    font-size: 15px;
    line-height: 1.5;
}

button {
    width: 100%;
    padding: 13px;
    background: linear-gradient(90deg, #6366f1 0%, #60a5fa 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 8px 0 rgba(99,102,241,0.08);
    transition: background 0.2s, box-shadow 0.2s;
    margin-top: 4px;
    margin-bottom: 6px;
    letter-spacing: 0.2px;
}

button:hover {
    background: linear-gradient(90deg, #4338ca 0%, #2563eb 100%);
    box-shadow: 0 4px 16px 0 rgba(99,102,241,0.13);
}

.error {
    color: #d8000c;
    margin-top: 10px;
    min-height: 20px;
    font-size: 15px;
    z-index: 1;
    position: relative;
}

a {
    color: #6366f1;
    text-decoration: none;
    transition: color 0.2s;
}
a:hover {
    color: #4338ca;
    text-decoration: underline;
}
