
#cssmenu{
	padding-left: 30px;
}
.submenuItem a{
text-align: left;
}
@media (max-width: 576px) {
.user-dropdown {
	margin-top: 15px;
    margin-right: 10px;
}
.submenuItem{
	line-height: 0px !important;
	padding: 0 !important
}
.submenuItem a{
	color: black !important;
}
}
.logo{
    max-width: 70px !important;
}


/* Modern & Beautiful Find Match Header */
.find-match-header {
    margin-bottom: 40px;
    padding: 0 15px;
}

.header-content {
    display: flex;
    justify-content: space-between; /* Text left, button right */
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.header-text h1 {
    font-size: 2.4rem;
    font-weight: 800;
    color: #ff5a5f;
    margin: 0;
    line-height: 1.1;
    letter-spacing: -0.5px;
    background: linear-gradient(90deg, #ff5a5f 0%, #ff8c8c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-text .subtitle {
    font-size: 1.1rem;
    color: #555;
    margin-top: 6px;
    font-weight: 400;
}

/* Beautiful Filter Button */
.filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #ff5a5f 0%, #ff7875 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.filter-btn i {
    font-size: 1.2rem;
}

.filter-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #ff7875 0%, #ff5a5f 100%);
    box-shadow: 0 8px 25px rgba(255, 90, 95, 0.35);
}

.filter-btn:active {
    transform: translateY(1px);
}

/* Mobile / Tablet Responsive */
@media (max-width: 991px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .header-text h1 {
        font-size: 1.9rem;
    }

    .header-text .subtitle {
        font-size: 0.95rem;
    }

    .filter-btn {
        align-self: stretch; /* Full width */
        justify-content: center;
        font-size: 0.95rem;
        padding: 10px 0;
    }
}

@media (max-width: 480px) {
    .header-text h1 {
        font-size: 1.7rem;
    }

    .filter-btn {
        font-size: 0.9rem;
        padding: 8px 0;
    }
}


        /* Card Grid */
        .members-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
        }

        @media (max-width: 1200px) {
            .members-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        @media (max-width: 992px) {
            .members-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 576px) {
            .members-grid {
                grid-template-columns: 1fr;
            }
        }

        /* Member Card */
        /* Member Card */
.member-card {
    background-color: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Reduce image height */
.member-img {
    width: 100%;
    aspect-ratio: 3 / 3.5; /* Reduced ratio for smaller height */
    overflow: hidden;
}

.member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.member-card:hover .member-img img {
    transform: scale(1.05);
}

.member-body {
    padding: 16px; /* Slightly smaller padding */
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.member-body h5 {
    font-size: 18px; /* Slightly smaller font */
    font-weight: 700;
    margin: 0 0 6px 0;
    color: #222;
}

.member-body p {
    font-size: 13px; /* Slightly smaller text */
    color: #777;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 18px; /* Adjusted */
}
.member-body p i {
    color: #ff5a5f;
    margin-right: 6px;
}

.member-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: auto;
}

.member-actions button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-like {
    background: linear-gradient(135deg, #e8f7ee, #d4f0e0);
    color: #2ecc71;
}

.btn-like:hover {
    background: #2ecc71;
    color: #fff;
}

.btn-dislike {
    background: linear-gradient(135deg, #fdecea, #f8d7d5);
    color: #e74c3c;
}

.btn-dislike:hover {
    background: #e74c3c;
    color: #fff;
}

.member-actions button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-liked {
    background: #2ecc71 !important;
    color: #fff !important;
}

.btn-disliked {
    background: #e74c3c !important;
    color: #fff !important;
}

.btn-disabled {
    pointer-events: none;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    list-style: none;
    padding: 0;
}

.pagination li {
    margin: 0 5px;
}

.pagination a {
    display: inline-block;
    padding: 10px 15px;
    border-radius: 50px;
    background-color: #f1f1f1;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.pagination a:hover,
.pagination .active a {
    background-color: #ff5a5f;
    color: #fff;
}

/* Filter Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #fff;
    border-radius: 20px;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-custom_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-custom_header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #ff5a5f;
    margin: 0;
}

.close {
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #aaa;
}

.close:hover {
    color: #333;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    background-color: #f9f9f9;
    transition: border-color 0.3s ease;
}

.form-group select:focus {
    border-color: #ff5a5f;
    outline: none;
}

.submit-btn {
    width: 100%;
    background-color: #ff5a5f;
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #e74c3c;
}
#search_by_name{
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    background-color: #f9f9f9;
}
.no-data-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.no-data-card {
    text-align: center;
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    max-width: 420px;
    width: 100%;
}

.no-data-card i {
    font-size: 60px;
    color: #ff5a5f;
    margin-bottom: 15px;
}

.no-data-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
}

.no-data-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.retry-btn {
    background: linear-gradient(135deg, #ff5a5f, #ff884d);
    border: none;
    color: #fff;
    padding: 12px 26px;
    font-size: 15px;
    border-radius: 30px;
    cursor: pointer;

    /* FIX CENTERING */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    transition: all 0.3s ease;
}

.retry-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255,90,95,0.35);
}

/* Mobile responsive */
@media (max-width: 576px) {
    .no-data-card {
        padding: 30px 20px;
    }

    .no-data-card i {
        font-size: 48px;
    }

    .no-data-card h3 {
        font-size: 20px;
    }
}

.login-section {
    padding: 50px 0;
}

.login-card {
    background: #fff;
    padding: 35px 30px;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.login-title {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
}

.login-subtitle {
    text-align: center;
    color: #777;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
}

.input-group {
    position: relative;
}

.input-group input {
    width: 100%;
    padding: 12px 45px;
    border-radius: 10px !important;
    border: 1px solid #ddd;
    font-size: 14px;
}

.input-group input:focus {
    outline: none;
    border-color: #ff5a5f;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #999;
}

.custloginBtn {
    background: linear-gradient(135deg, #ff5a5f, #ff884d);
    border: none;
    color: #fff;
    padding: 12px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 30px;
    margin-top: 10px;
    transition: 0.3s ease;
}

.custloginBtn:hover {
    opacity: 0.9;
}

/* Mobile Fix */
@media (max-width: 576px) {
    .login-card {
        padding: 25px 20px;
    }
}


.signup-section {
    padding: 50px 0;
}

.signup-card {
    background: #fff;
    padding: 35px 30px;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(0,0,0,0.08);
}

.signup-title {
    font-size: 26px;
    font-weight: 700;
    text-align: center;
}

.signup-subtitle {
    text-align: center;
    color: #777;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
}

.input-group {
    position: relative;
}

.input-group input {
    width: 100%;
    padding: 12px 45px;
    border-radius: 30px;
    border: 1px solid #ddd;
    font-size: 14px;
}

.input-group input:focus {
    outline: none;
    border-color: #ff5a5f;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #999;
}