body {
    background-image: url('https://inredlabs.net/assets/images/hero__banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    font-family: 'Inter', sans-serif;
}

.container {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    padding: 2rem;
    border-radius: 1rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.form-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.input-field {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.95);
    color: #111827;
    font-size: 1.1rem;
}

.input-field::placeholder {
    color: #6b7280;
}

.input-field:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.5);
}

.submit-btn {
    padding: 0.75rem 2.5rem;
    background: red;
    color: red;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
}

.submit-btn:hover {
    background: #c40a13;
}

.result-box {
    background: #0000; /* fully opaque white */
    margin-top: 2rem;
    padding: 1.5rem;
    color: #111827;
    border-radius: 0.5rem;
    text-align: left;
}


.result-box p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.error-text {
    color: #dc2626;
    font-weight: 500;
}

.spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #3b82f6;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 640px) {
    .container {
        padding: 1.5rem;
        width: 95%;
    }

    .input-field {
        font-size: 1rem;
    }

    .submit-btn {
        padding: 0.6rem 2rem;
        font-size: 1rem;
    }

    .result-box {
        padding: 1rem;
    }

    .result-box p {
        font-size: 1rem;
    }
}