* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.standardForm {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
    max-width: 420px;
    padding: 2.5rem;
    background: #1a1a2e;
    border: 1px solid #2e2e4a;
    border-radius: 12px;
}

.standardForm h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #e8e8f0;
}

.standardForm p {
    font-size: 0.875rem;
    color: #888;
    text-align: center;
}

.standardForm label {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #b0b0c8;
}

.standardForm input,
.standardForm textarea,
.standardForm select {
    width: 100%;
    padding: 0.625rem 0.875rem;
    background: #0f0f1e;
    border: 1px solid #2e2e4a;
    border-radius: 8px;
    color: #e8e8f0;
    font-size: 0.95rem;
    font-weight: 400;
    transition: border-color 0.15s, box-shadow 0.15s;
    outline: none;
}

.standardForm input::placeholder,
.standardForm textarea::placeholder {
    color: #444466;
}

.standardForm input:focus,
.standardForm textarea:focus,
.standardForm select:focus {
    border-color: #5a5aff;
    box-shadow: 0 0 0 3px rgba(90, 90, 255, 0.15);
}

.standardForm small {
    font-size: 0.8rem;
    color: #e05555;
}

.standardForm output {
    display: block;
    padding: 0.625rem 0.875rem;
    background: rgba(224, 85, 85, 0.1);
    border: 1px solid rgba(224, 85, 85, 0.35);
    border-radius: 8px;
    font-size: 0.875rem;
    color: #e05555;
}

.standardForm button {
    width: 100%;
    padding: 0.7rem 1rem;
    background: #2e2e4a;
    color: #b0b0c8;
    font-size: 1rem;
    font-weight: 600;
    border: 1px solid #3e3e60;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, transform 0.1s;
    margin-top: 0.25rem;
}

.standardForm button:hover {
    background: #3a3a5e;
    color: #e8e8f0;
}

.standardForm button:active {
    transform: scale(0.98);
}

.standardForm button:disabled {
    background: #1e1e34;
    color: #444466;
    border-color: #2a2a44;
    cursor: not-allowed;
    transform: none;
}

.standardForm button[type="submit"] {
    background: #5a5aff;
    color: #fff;
    border-color: transparent;
}

.standardForm button[type="submit"]:hover {
    background: #4646e0;
    color: #fff;
}

.standardForm button[type="submit"]:disabled {
    background: #3a3a66;
    color: #666688;
    border-color: transparent;
}

.standardForm a {
    color: #7a7aff;
    text-decoration: none;
}

.standardForm a:hover {
    text-decoration: underline;
}

.form-glow {
    position: relative;
    border-radius: 14px;
    width: min(780px, 100%);
    box-shadow: 0 0 0 1px rgba(192, 132, 252, 0.2),
                0 0 40px rgba(192, 132, 252, 0.08),
                0 0 80px rgba(90, 90, 255, 0.05);
    animation: glow-pulse 4s ease-in-out infinite alternate;
}

.form-glow .standardForm {
    max-width: 100%;
    border-color: transparent;
    overflow: hidden;
    position: relative;
}

.form-glow .standardForm::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        105deg,
        transparent 20%,
        rgba(255, 255, 255, 0.045) 50%,
        transparent 80%
    );
    transform: skewX(-10deg);
    animation: shimmer 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 10;
}

@keyframes shimmer {
    0%   { left: -75%; }
    25%  { left: 125%; }
    100% { left: 125%; }
}

@keyframes glow-pulse {
    from {
        box-shadow: 0 0 0 1px rgba(192, 132, 252, 0.15),
                    0 0 30px rgba(192, 132, 252, 0.06),
                    0 0 60px rgba(90, 90, 255, 0.04);
    }
    to {
        box-shadow: 0 0 0 1px rgba(192, 132, 252, 0.35),
                    0 0 50px rgba(192, 132, 252, 0.14),
                    0 0 100px rgba(90, 90, 255, 0.08);
    }
}
