/* Contact */

.contact-form {
    max-width: 900px;
    margin: 30px auto;
    padding: 20px;
    background-color: #222222;
    border-radius: 10px;

    animation: appear linear;
    animation-timeline: view();
    animation-range: entry 0% cover 50%;
}

.form-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    min-width: 250px;
}

.form-group.large-field {
    flex: 2;
}

.form-group label {
    display: block;
    color: white;
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    background-color: #333;
    border: 1px solid #444;
    border-radius: 6px;
    color: white;
    font-size: 16px;
    transition: all 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: orange;
    box-shadow: 0 0 5px rgba(255, 165, 0, 0.5);
}

.contact-form textarea {
    resize: vertical;
}

.contact-form .btn-filled {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    cursor: pointer;
    margin-top: 10px;
}

.toast-message {
    padding: 1rem;
    border-radius: 0.5rem;
    background-color: #059669;
    color: white;
    font-weight: 500;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);

    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    z-index: 1000;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-50px);
    opacity: 0;
}

.toast-content-wrapper {
    display: flex;
    align-items: center;
}

.toast-icon {
    width: 1.0rem;
    height: 1.0rem;
    margin-right: 0.5rem;
}

.show-toast {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@keyframes appear {
    from {
        opacity: 0;
        scale: 0.5;
    }

    to {
        opacity: 1;
        scale: 1;
    }
}