/* Contact Form Styles */
#contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: 2rem auto 0;
}

.form-group {
    display: flex;
    gap: 1rem;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 1rem;
    background-color: #1a1a2e;
    border: 1px solid #4a4a70;
    border-radius: 8px;
    color: #e4ecff;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

#contact-form input::placeholder,
#contact-form textarea::placeholder {
    color: #a9a9d0;
    opacity: 0.7;
}

#contact-form input:focus,
#contact-form textarea:focus {
    outline: none;
    border-color: #cbacf9;
}

#contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

#submit-button {
    padding: 1rem 2rem;
    background-color: #cbacf9;
    color: #0f0f1a;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#submit-button:hover {
    background-color: #b392e0;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .form-group {
        flex-direction: column;
    }
}

/* Custom Alert Styles */
.custom-alert {
    position: fixed;
    top: -100px; /* Start off-screen */
    left: 50%;
    transform: translateX(-50%);
    padding: 1rem 2rem;
    background-color: #1a1a2e;
    border: 1px solid #4a4a70;
    border-radius: 8px;
    color: #e4ecff;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: top 0.5s ease-in-out;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.custom-alert.show {
    top: 20px; /* Animate to this position */
}

.custom-alert.error {
    background-color: #2e1a1a;
    border-color: #704a4a;
}

#custom-alert-close {
    background: none;
    border: none;
    color: #a9a9d0;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

#custom-alert-close:hover {
    color: #e4ecff;
}
