﻿/* ==========================================================================
   Contact Us page
   Add this file at: wwwroot/dirto/css/contact.css
   ========================================================================== */

/*.contact-info-card {
    background-color: #f8f9fa;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    padding: 32px;
    height: 100%;
}

    .contact-info-card h4 {
        font-family: "Work Sans", sans-serif;
        font-weight: 700;
        margin-bottom: 12px;
    }

    .contact-info-card > p {
        color: #6b6b6b;
        line-height: 1.6;
        margin-bottom: 28px;
    }

.contact-info-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .contact-info-list li {
        display: flex;
        align-items: flex-start;
        gap: 14px;
        margin-bottom: 22px;
    }

        .contact-info-list li:last-child {
            margin-bottom: 0;
        }

.contact-info-icon {
    flex: 0 0 40px;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    background-color: #eaf5ec;
    color: #1f8a3f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.contact-info-list strong {
    display: block;
    font-size: 14px;
    color: #333f57;
    margin-bottom: 2px;
}

.contact-info-list p {
    margin: 0;
    font-size: 13.5px;
    color: #6b6b6b;
    line-height: 1.5;
}

.contact-form-card {
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    padding: 32px;
    background-color: #fff;
    height: 100%;
}

    .contact-form-card .form-group {
        margin-bottom: 20px;
    }

    .contact-form-card label {
        display: block;
        font-size: 13.5px;
        font-weight: 600;
        color: #333f57;
        margin-bottom: 6px;
    }

    .contact-form-card textarea.form-control {
        resize: vertical;
    }

.field-error {
    display: block;
    color: #c0392b;
    font-size: 12.5px;
    margin-top: 6px;
}

.contact-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 22px;
}

.contact-alert-success {
    background-color: #eaf5ec;
    border: 1px solid #bfe3c9;
    color: #1f8a3f;
}

.contact-alert-error {
    background-color: #fdecea;
    border: 1px solid #f5c2bc;
    color: #c0392b;
}

@media (max-width: 767px) {
    .contact-info-card,
    .contact-form-card {
        padding: 24px;
    }
}*/

/* ==========================================================================
   Contact Us page
   Add this file at: wwwroot/dirto/css/contact.css
   ========================================================================== */

.contact-info-card {
    background-color: #f8f9fa;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    padding: 32px;
    height: 100%;
}

    .contact-info-card h4 {
        font-family: "Work Sans", sans-serif;
        font-weight: 700;
        margin-bottom: 12px;
    }

    .contact-info-card > p {
        color: #6b6b6b;
        line-height: 1.6;
        margin-bottom: 28px;
    }

.contact-info-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .contact-info-list li {
        display: flex;
        align-items: flex-start;
        gap: 14px;
        margin-bottom: 22px;
    }

        .contact-info-list li:last-child {
            margin-bottom: 0;
        }

.contact-info-icon {
    flex: 0 0 40px;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    background-color: #eaf5ec;
    color: #1f8a3f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.contact-info-list strong {
    display: block;
    font-size: 14px;
    color: #333f57;
    margin-bottom: 2px;
}

.contact-info-list p {
    margin: 0;
    font-size: 13.5px;
    color: #6b6b6b;
    line-height: 1.5;
}

.contact-form-card {
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    padding: 32px;
    background-color: #fff;
    height: 100%;
}

    .contact-form-card .form-group {
        margin-bottom: 20px;
    }

    .contact-form-card label {
        display: block;
        font-size: 13.5px;
        font-weight: 600;
        color: #333f57;
        margin-bottom: 6px;
    }

    .contact-form-card textarea.form-control {
        resize: vertical;
    }

.field-error {
    display: block;
    color: #c0392b;
    font-size: 12.5px;
    margin-top: 6px;
}

.contact-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 22px;
}

.contact-alert-success {
    background-color: #eaf5ec;
    border: 1px solid #bfe3c9;
    color: #1f8a3f;
}

.contact-alert-error {
    background-color: #fdecea;
    border: 1px solid #f5c2bc;
    color: #c0392b;
}

/* ---- email verification ---- */
.verify-field {
    display: flex;
    gap: 10px;
}

    .verify-field .form-control {
        flex: 1;
    }

.verify-btn {
    flex: 0 0 auto;
    white-space: nowrap;
    background-color: #1f8a3f;
    border: 1px solid #1f8a3f;
    color: #fff;
    padding: 0 18px;
    border-radius: 6px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .15s ease, opacity .15s ease;
}

    .verify-btn:hover:not(:disabled) {
        background-color: #197033;
    }

    .verify-btn:disabled {
        opacity: .55;
        cursor: default;
    }

.verify-status {
    display: block;
    font-size: 12.5px;
    margin-top: 6px;
}

    .verify-status.is-success {
        color: #1f8a3f;
    }

    .verify-status.is-error {
        color: #c0392b;
    }

.verify-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 6px;
}

.verify-resend {
    background: none;
    border: none;
    color: #1f8a3f;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
}

    .verify-resend:disabled {
        color: #aaa;
        cursor: default;
        text-decoration: none;
    }

.contact-fieldset {
    border: none;
    padding: 0;
    margin: 0;
    min-width: 0;
    transition: opacity .2s ease;
}

    .contact-fieldset:disabled {
        opacity: .5;
    }

@media (max-width: 767px) {
    .contact-info-card,
    .contact-form-card {
        padding: 24px;
    }
}

