/**
Theme Name: panchratnavivah
Author: Soham Joshi
Author URI: http://wpastra.com/about/
Description: This is matrimony site
Version: 1.0.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: panchratnavivah
Template: astra
*/

/* User registration styles */
a,
a:focus,
a:hover,
a:visited {
    text-decoration: none !important;
}

#user-registration-form-314 {
    width: 100% !important;
    max-width: 100% !important;
}

form.register {
    display: grid;
    grid-template-columns: 50% 50%;
}

div[data-row-id="3"] {
    grid-column: 1/ -1;
}

.ur-form-row {
    padding: 15px;
    margin: 10px;
    border: 1px solid #f8f1f1;
    border-radius: 10px;
}

.title-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    /* padding: 0 10px; */
    padding-bottom: 10px;
    margin: 0 0px 20px 10px;
    border-bottom: 1px solid #f8f1f1;
    width: 100%;
}

h3.ur-form-row-title {
    margin: 0;
}

.title-wrapper i {
    width: 40px;
    background: #ff6c5930;
    border-radius: 50%;
    color: #ff6d59;
    font-size: 18px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

h3.ur-form-row-title {
    margin: 0;
}

.ur-frontend-form .ur-form-row {
    flex-wrap: wrap;
}

h3.ur-form-row-title {
    font-size: 18px;
    text-transform: uppercase;
    color: #000000;
}

div#gender_field ul {
    display: flex;
    gap: 20px;
}

.ur-button-container {
    margin: 0 auto;
    grid-column: 1 / -1;
}

button.btn.button.ur-submit-button.submit {
    width: 220px !important;
    background: #ff6d59 !important;
    border: none !important;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: #f5f5f5;
    border-radius: 0 0 10px 10px;
}

.user-frontend-form {
    width: 100%;
    /* margin: 50px auto; */
}

.progress-wrapper {
    display: flex;
    justify-content: space-between;
}

.progress-wrapper div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    font-size: 18px;
    color: #666666;
    width: 100%;
    padding: 20px 10px;
}

.form-header {
    background: #fff;
    /* border-radius: 10px 10px 0 0; */
}

.progress-wrapper .active {
    color: #ff6d59;
    font-weight: 600;
    background: #ff6c5930;
}

.progress-wrapper i {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    background: #ff6c5930;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    margin-bottom: 10px;
}

.progress-wrapper .active i {
    background: #ff6d59;
}

/* User registration styles */
.step-heading {
    cursor: pointer;
    padding-bottom: 15px;
    position: relative;
}

.step-heading.active {
    border-bottom: 3px solid #ff6d59;
}

a.next-btn,
a.prev-btn {
    background: #ff6d59;
    border-radius: 50%;
    padding: 10px;
    width: 50px;
    display: flex;
    height: 50px;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease-in-out;
    overflow: hidden;
    color: #fff;
    font-size: 22px;
}

a.next-btn span,
a.prev-btn span {
    display: none;
    padding: 0 5px;
    font-size: 14px;
}

a.next-btn:hover span,
a.prev-btn:hover span {
    display: block;
}

a.next-btn:hover,
a.prev-btn:hover {
    width: 100px;
    border-radius: 15px;
}

.prev-btn-wrapper {
    display: flex;
    justify-content: flex-start;
    min-width: 150px;
}

.next-btn-wrapper {
    display: flex;
    justify-content: flex-end;
    min-width: 150px;
}


.form-body {
    padding: 50px;
    min-height: 70vh;
    background: #f9fafb;
}

.user-details-container {
    width: auto;
    margin: 0px auto;
    padding: 50px;
    background: #fff;
    border-radius: 20px;
    border: 1px solid #f3f4f6;
}

/* Profile Pictures Styles */
.profile-picture {
    width: 250px;
    height: 350px;
    background: #f9fafb;
    border: 2px dashed #efe7eb;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    position: relative;
    cursor: pointer;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

.profile-picture:hover {
    border-color: #ff6d59b8;
    background-color: #ff6d591c;
}

.profile-picture:hover i {
    font-size: 40px;
    color: #ff6d59;
}

.profile-picture i {
    font-size: 40px;
    display: none;
}

.media-menu-item {
    color: gray;
}

.has-image i {
    display: none;
}

.has-image:hover i {
    display: block;
}

.profile-picture-wrapper.extra-pictures {
    display: grid;
    grid-template-columns: repeat(4, auto);
    gap: 50px;
    justify-content: space-between;
}

.remove-image {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 22px;
    height: 22px;
    background: #ff4d4f;
    color: #fff;
    border-radius: 50%;
    font-size: 16px;
    line-height: 22px;
    text-align: center;
    cursor: pointer;
    font-weight: bold;
    z-index: 9;
}

/* User registration styles */
.user-frontend-form .column-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.user-frontend-form .inner-section {
    padding: 40px 20px 20px 20px;
    border-radius: 10px;
    border: 1px solid #f8f1f1;
}

section.inner-section h4 {
    margin-top: -52px;
    padding: 0 5px;
    margin-left: -5px;
    background: #ffffff;
    font-size: 20px;
    color: #ff6d59;
    width: fit-content;
}

.required {
    color: red;
    margin-left: 2px;
}

.mt-20 {
    margin-top: 20px;
}

.inner-content {
    padding: 20px 0px;
}

.inner-content label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    text-transform: uppercase;
}

.column-4 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.column-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

input[type=time] {
    height: 40px;
    width: 100%;
}

input[type="time"] {
    font-size: 16px;
    width: 100%;
    padding: 12px 16px;
    color: var(--ast-form-input-text, #475569);
    border: 1px solid var(--ast-border-color);
    border-radius: 4px;
    background: var(--ast-comment-inputs-background);
    box-shadow: none;
    box-sizing: border-box;
    transition: all .2s linear;
}

.inner-section:not(:first-child) {
    margin-top: 50px;
}

.pk-astrology-text-center {
    display: none;
}

.hobbies-interests {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hobbies-interests label {
    font-weight: 400;
    margin: 0;
}

.profile-filters-card {
    background: #fff;
    border: 1px solid #f3f4f6;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.04);
}

.profile-filters-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.profile-filters-card__header h3 {
    margin: 0;
    font-size: 20px;
    color: #111827;
}

.profile-filters-card__header a {
    color: #ff6d59;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.profile-filter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.filter-group label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.profile-filter-form input,
.profile-filter-form select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    color: #374151;
}

.profile-filter-form input:focus,
.profile-filter-form select:focus {
    border-color: #ff6d59;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 109, 89, 0.15);
}

.profile-filter-submit {
    border: none;
    background: #ff6d59;
    color: #fff;
    padding: 12px 14px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
}

.view-records-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 24px;
    margin-bottom: 24px;
    background: #fff;
    border: 1px solid #f3f4f6;
    border-radius: 20px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.04);
}

.view-records-topbar h2 {
    margin: 0 0 4px 0;
    font-size: 24px;
    color: #111827;
}

.view-records-topbar p {
    margin: 0;
    color: #6b7280;
}

.view-records-badge {
    background: #ff6c5930;
    color: #ff6d59;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
}

.view-records-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.profile-card {
    background: #fff;
    border: 1px solid #f3f4f6;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.profile-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.profile-card__image {
    height: 220px;
    background: #f9fafb;
}

.profile-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #6b7280;
    font-size: 1rem;
}

.profile-card__body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.profile-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.profile-card__top h5 {
    margin: 0;
    font-size: 18px;
    color: #111827;
}

.profile-card__top span {
    display: inline-block;
    background: #ff6c5930;
    color: #ff6d59;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.profile-card__meta {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
}

.profile-card__details {
    display: grid;
    gap: 6px;
    font-size: 13px;
    color: #374151;
}

.profile-card__link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid #ff6d59;
    color: #ff6d59;
    background: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.profile-card__link:hover {
    background: #ff6d59;
    color: #fff;
}

/* ==================================================
   View all records / match listing styles
   ================================================== */
.profile-filters-card {
    background: #fff;
    border: 1px solid #f3f4f6;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.04);
}

.profile-filters-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.profile-filters-card__header h3 {
    margin: 0;
    font-size: 20px;
    color: #111827;
}

.profile-filters-card__header a {
    color: #ff6d59;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.profile-filter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.filter-group label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.profile-filter-form input,
.profile-filter-form select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    color: #374151;
}

.profile-filter-form input:focus,
.profile-filter-form select:focus {
    border-color: #ff6d59;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 109, 89, 0.15);
}

.profile-filter-submit {
    border: none;
    background: #ff6d59;
    color: #fff;
    padding: 12px 14px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
}

.view-records-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 24px;
    margin-bottom: 24px;
    background: #fff;
    border: 1px solid #f3f4f6;
    border-radius: 20px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.04);
}

.view-records-topbar h2 {
    margin: 0 0 4px 0;
    font-size: 24px;
    color: #111827;
}

.view-records-topbar p {
    margin: 0;
    color: #6b7280;
}

.view-records-badge {
    background: #ff6c5930;
    color: #ff6d59;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
}

.view-records-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.profile-card {
    background: #fff;
    border: 1px solid #f3f4f6;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.profile-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.profile-card__image {
    height: 350px;
    background: #f9fafb;
}

.profile-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #6b7280;
    font-size: 1rem;
}

.profile-card__body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.profile-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.profile-card__top h5 {
    margin: 0;
    font-size: 18px;
    color: #111827;
}

.profile-card__top span {
    display: inline-block;
    background: #ff6c5930;
    color: #ff6d59;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.profile-card__meta {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
}

.profile-card__details {
    display: grid;
    gap: 6px;
    font-size: 13px;
    color: #374151;
}

.profile-card__link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid #ff6d59;
    color: #ff6d59;
    background: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.profile-card__link:hover {
    background: #ff6d59;
    color: #fff;
}

/* Responsive styles */
@media only screen and (max-width: 768px) {
    form.register {
        grid-template-columns: 100%;
    }

    .user-registration.ur-frontend-form {
        padding: 10px !important;
        margin: 10px 0;
    }

    .ur-frontend-form .ur-form-row .ur-form-grid {
        padding: 0 !important;
    }

    .title-wrapper {
        margin: 0 0px 20px 0px;
    }

    .profile-filters-card {
        position: static;
        top: auto;
    }

    .view-records-grid {
        grid-template-columns: 1fr;
    }

    .ur-form-row {
        margin-bottom: 15px !important;
    }

    .ur-frontend-form .ur-form-row .ur-form-grid {
        margin-bottom: 10px !important;
    }

    h3.ur-form-row-title {
        font-size: 16px;
    }

    /* User-details responsive styles */
    .form-header {
        padding: 30px 20px;
    }

    .form-header span {
        display: none;
    }

    .form-body,
    .user-details-container {
        padding: 40px 20px;
        width: 100%;
    }

    .profile-picture-wrapper.extra-pictures {
        gap: 20px;
        grid-template-columns: repeat(8, auto);
        overflow-y: scroll;
        padding: 20px 0;
    }

    .form-footer {
        padding: 20px 20px;
    }

    .prev-btn-wrapper,
    .next-btn-wrapper {
        min-width: auto;
    }

    .user-frontend-form .inner-section {
        padding: 0;
        border: none;
    }

    section.inner-section h4 {
        margin-top: 0;
        padding: 0;
        margin-left: 0;
        background: none;
    }

    .user-frontend-form .column-2,
    .user-frontend-form .column-4,
    .user-frontend-form .column-3 {
        grid-template-columns: 100%;
        gap: 0;
    }

    .user-frontend-form .form-group {
        margin-bottom: 20px;
    }

    .inner-section:not(:first-child) {
        margin-top: 0;
    }

    .column-4,
    .column-3 {
        margin-bottom: 0;
    }
}

.ast-builder-layout-element.site-header-focus-item.ast-header-button-4 {
    display: flex;
    margin-right: 10px;
}

.profile-menu .menu-link {
    gap: 5px;
}