:root {
    --primary-color: #4f46e5;
    /* Indigo */
    --secondary-color: #06b6d4;
    /* Cyan */
    --accent-color: #8b5cf6;
    /* Violet */
    --text-color: #1f2937;
    --text-light: #6b7280;
    --background-start: #f3f4f6;
    --background-end: #e5e7eb;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.6);
    --input-bg: rgba(255, 255, 255, 0.9);
    --input-border: #d1d5db;
    --input-focus: var(--primary-color);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--background-start), var(--background-end));
    padding: 20px;
    overflow-x: hidden;
    position: relative;
}

/* Background Animated Shapes */
.background-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.shape {
    position: absolute;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 10s infinite alternate;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    top: -100px;
    left: -100px;
    border-radius: 50%;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary-color);
    bottom: -50px;
    right: -50px;
    border-radius: 50%;
    animation-delay: 2s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: var(--accent-color);
    top: 40%;
    left: 40%;
    border-radius: 50%;
    animation-delay: 4s;
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(20px, 40px);
    }
}

/* Glassmorphism Container */
.container {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

header {
    text-align: center;
    margin-bottom: 30px;
}

header h1 {
    color: var(--text-color);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

header p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.row {
    display: flex;
    gap: 15px;
}

.row .form-group {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.9rem;
}

input,
select,
textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 12px;
    font-size: 1rem;
    color: var(--text-color);
    transition: all 0.3s ease;
}

/* Fix for select appearance */
select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' 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 12px center;
    background-size: 1em;
    padding-right: 40px;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--input-focus);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

textarea {
    resize: vertical;
}

/* Button */
button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.btn-subtext {
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.85;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
}

button:active {
    transform: translateY(0);
}

.status-message {
    text-align: center;
    margin-top: 15px;
    font-size: 0.9rem;
    min-height: 1.2em;
}

.status-success {
    color: #059669;
}

.status-error {
    color: #dc2626;
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
    .container {
        padding: 25px;
    }

    .row {
        flex-direction: column;
        gap: 0;
    }

    header h1 {
        font-size: 1.75rem;
    }
}