﻿
#messageDialog {
    width: 540px;
    background-color: white;
    border-radius: 4px;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0;
    position: fixed !important; /* 关键：固定定位 */
    margin: auto;
}

    #messageDialog::backdrop {
        background-color: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(0px);
    }

.form-header-m {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 32px 32px 0;
    margin-bottom: 20px;
}

.form-title-m {
    font-size: 24px;
    font-weight: bold;
    line-height: 1.5;
    color: #000000;
    margin: 0 auto;
    text-align: center;
}
.form-header-m p {
    text-align: center;
    margin: 0;
    padding-top: 6px;
    opacity: 0.8;
}
.close-btn-m {
    width: 16px;
    height: 16px;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
}

.form-body-m {
    padding: 0 70px;
}

.form-group-m {
    margin-bottom: 10px;
}

    .form-group-m:last-of-type {
        margin-bottom: 20px;
    }

    .form-group-m label {
        display: block;
        margin-bottom: 8px;
        font-size: 16px;
        color: #000000;
        opacity: 0.6;
    }

.form-control-m {
    width: 400px !important;
    padding: 8px 16px !important;
    border: 1px solid #999999 !important;
    border-radius: 4px !important;
    /*font-size: 16px !important;*/
    line-height: 1.5;
    color: #000000 !important;
    opacity: 0.4;
}

.form-control-m-h1 {
    height: 44px !important;
}

.form-control-m-h2 {
    height: 80px !important;
}

.form-control-m:focus {
    opacity: 1;
    outline: none;
    border-color: #009BFC !important;
}

textarea.form-control-m {
    height: 88px;
    padding: 12px 16px;
    resize: none;
}

.form-footer-m {
    display: flex;
    justify-content: flex-end;
    /* padding: 32px 70px 0; */
    margin-top: 20px;
    /* border-top: 1px solid #eeeeee; */
}

.btn-m {
    width: 140px;
    height: 46px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    margin-bottom: 20px
}

.btn-cancel-m {
    background-color: #d9d9d9;
    color: #000000;
    opacity: 0.6;
    margin-right: 20px;
}

.btn-submit-m {
    background-color: #009BFC;
    color: white;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 540px) {
    dialog#messageDialog {
        width: 95%;
    }
}

.message-entry-img {
    animation: float 2s ease-in-out infinite;
    transition: transform 0.3s;
}

    .message-entry-img:hover {
        transform: scale(1.05);
    }

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }

    100% {
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .message-entry-img {
        width: 50px;
    }
}

@media (max-width: 480px) {
    .message-entry-img {
        width: 40px;
    }
}

@media screen and (max-width:1600px) {
    .city-picker-join-dropdown {
        left: 14% !important;
    }
}

.submit-error {
    width: 100%;
    color: #d93025;
    background-color: #fff3f3;
    border: 1px solid #f5c2c7;
    padding: 10px 16px;
    margin-bottom: 16px;
    border-radius: 4px;
    font-size: 14px;
}

button:disabled {
    background-color: #ccc !important;
    color: #666 !important;
    border-color: #aaa !important;
    cursor: not-allowed;
    opacity: 0.7;
}
.noscroll {
    overflow: hidden !important;
}
