﻿    .note {
        font-size: 12px;
        margin-bottom: 20px;
    }

.required {
    color: red;
}

.contact-container label {
    display: block;
    margin: 12px 0 5px;
    font-weight: 500;
}

.contact-container input, .contact-container select, .contact-container textarea {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 6px;
    background-color: #0f172a;
    color: #f8fafc;
    font-size: 14px;
    box-sizing: border-box;
    outline: none;
    margin-bottom: 5px;
}

.contact-container select {
    appearance: none;
}

.contact-container textarea {
    height: 100px;
    resize: vertical;
}

.char-count {
    text-align: right;
    font-size: 12px;
    color: #94a3b8;
}

.form-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    margin-top: 10px;
}

.submit-btn, .reset_btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
}

.submit-btn {
    background-color: #5895e1;
    color: #fff !important;
}

.reset_btn {
    background-color: #334155;
    color: #fff;
}

    .reset_btn:hover {
        background-color: #f60;
    }

    .contact-container {
        position: relative;
        background-color: #1e293b;
        padding: 30px 40px;
        border-radius: 12px;
        box-shadow: 0 0 20px rgba(0,0,0,0.4);
        max-width: 840px;
        width: 100%;
        color: white;
        overflow: hidden;
    }

    /* Gradient top border */
    .contact-container::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        height: 4px;
        width: 100%;
        background: linear-gradient(to right, #ec4899, #8b5cf6);
        border-top-left-radius: 12px;
        border-top-right-radius: 12px;
    }

.contact-body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 0.9rem;
}
.contact-container h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

.contact-container p {
    font-size: 14px;
    color: #cbd5e1;
    margin-bottom: 10px;
}

    .contact-container p a {
        color: #38bdf8;
        text-decoration: none;
    }

.error-message {
    color: #f87171; /* light red */
    font-size: 13px;
    margin-top: 4px;
    display: block;
}

input:invalid, textarea:invalid {
    border: 1px solid #f87171;
}

input.errormsg, textarea.errormsg {
    border: 1px solid #f87171;
    background-color: rgba(239, 68, 68, 0.05);
}

.toasterShow.showThread {
    padding: 10px 0;
    height: auto;
    visibility: visible;
    opacity: 1;
    top: 60px;
    margin-bottom: 5px;
}

.toasterShow {
    position: fixed;
    right: 50px;
    top: 60px;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    height: 1px;
    color: #fff;
    display: block !important;
    width: 100%;
    text-align: center;
    z-index: 9999;
    transition: .5s;
}

    .toasterShow span {
        display: block;
        width: 100%;
        max-width: 300px;
        float: right;
        background: #089804;
        padding: 10px;
        border-radius: 6px;
    }
