.member-add-form-box {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.member-add-form input,
.member-add-form textarea {
    width: 100%;
    border: 1px solid #ddd;
    padding: 14px 16px;
    border-radius: 10px;
    outline: none;
}

.member-add-form textarea {
    min-height: 140px;
    resize: vertical;
}

.custom-member-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9999;
}

.custom-member-modal.active {
    display: block;
}

.custom-member-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.custom-member-modal__dialog {
    position: relative;
    max-width: 900px;
    width: calc(100% - 30px);
    margin: 60px auto;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    z-index: 2;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.custom-member-modal__close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: #f3265f;
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    z-index: 3;
}

.custom-member-modal__content {
    display: flex;
    flex-wrap: wrap;
}

.custom-member-modal__image {
    flex: 0 0 40%;
    max-width: 40%;
}

.custom-member-modal__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.custom-member-modal__info {
    flex: 0 0 60%;
    max-width: 60%;
    padding: 40px 30px;
}

.custom-member-modal__info h3 {
    margin-bottom: 20px;
    font-size: 30px;
}

.custom-member-modal__info p {
    margin-bottom: 12px;
    font-size: 18px;
}

.custom-member-modal__info #modalMemberDescription {
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.6;
}

@media (max-width: 767px) {

    .custom-member-modal__image,
    .custom-member-modal__info {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .custom-member-modal__dialog {
        margin: 20px auto;
        width: calc(100% - 20px);
    }

    .custom-member-modal__info {
        padding: 25px 20px;
    }

    .custom-member-modal__info h3 {
        font-size: 24px;
    }

    .custom-member-modal__info p {
        font-size: 16px;
    }
}

.member-card-delete {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 20;
}

.member-card-delete form {
    margin: 0;
}

.member-delete-btn {
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: #dc3545;
    color: #fff;
    font-size: 24px;
    line-height: 1;
    text-align: center;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.member-delete-btn:hover {
    background: #b02a37;
    transform: scale(1.08);
}

.member-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 260px;
    height: 56px;
    padding: 0 28px;
    border: none;
    border-radius: 12px;
    background: #f3265f;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
}

.member-submit-btn span,
.member-submit-btn i {
    color: #fff;
}

.member-submit-btn:hover {
    background: #203240;
}

.member-submit-btn:focus {
    outline: none;
    box-shadow: none;
}