/*
Theme Name: Astra Child
Template: astra
Version: 1.0
Text Domain: astra-child
*/

:root {
    --ast-global-color-0: #8b1e3f;
    --ast-global-color-1: #D9A441;
}

/* Button Wrapper */
.pm-buttons {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 35px;
    flex-wrap: wrap;
}

/* Common Button Style */
.pm-buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    height: 56px;
    padding: 0 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
}

/* Primary Button */
.pm-btn-primary {
    background: #8B1E3F;
    color: #fff;
    box-shadow: 0 10px 25px rgba(139, 30, 63, .25);
}

.pm-btn-primary:hover {
    background: #D9A441;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 18px 35px rgba(217, 164, 65, .30);
}

/* Secondary Button */
.pm-btn-secondary {
    background: #fff;
    color: #8B1E3F;
    border: 2px solid #8B1E3F;
}

.pm-btn-secondary:hover {
    background: #8B1E3F;
    color: #fff;
    transform: translateY(-3px);
}

/* Arrow Animation */
.pm-buttons a::after {
    content: "→";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-left: 10px;
    transition: transform .3s ease;
}

.pm-buttons a:hover::after {
    transform: translateX(5px);
}

/* Mobile */
@media (max-width:768px){

    .pm-buttons{
        flex-direction:column;
        align-items:flex-start;
    }

    .pm-buttons a{
        width:100%;
        max-width:280px;
    }

}


.pm-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    height: 56px;
    padding: 0 30px;
    border: 2px solid #8B1E3F;
    border-radius: 50px;
    background: transparent;
    color: #8B1E3F;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all .35s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.pm-btn-outline::before {
    content: "";
    position: absolute;
    inset: 0;
    width: 0;
    background: #8B1E3F;
    transition: width .35s ease;
    z-index: -1;
}

.pm-btn-outline:hover {
    color: #fff;
    border-color: #8B1E3F;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(139, 30, 63, .25);
}

.pm-btn-outline:hover::before {
    width: 100%;
}

/* Optional Arrow */
.pm-btn-outline i {
    margin-left: 10px;
    transition: transform .3s ease;
}

.pm-btn-outline:hover i {
    transform: translateX(5px);
}

.pm-hero ul{
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.pm-hero li{
    position: relative;
    padding-left: 34px;
    margin-bottom: 16px;
    font-size: 17px;
    color: var(--pm-text);
}

.pm-hero li::before{
    content: "✓";
    position: absolute;
    left: 0;
    top: 2px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--pm-secondary);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}


#pm-hero ul{
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

#pm-hero li{
    position: relative;
    padding-left: 34px;
    margin-bottom: 16px;
    font-size: 17px;
    color: var(--pm-text);
}

#pm-hero li::before{
    content: "✓";
    position: absolute;
    left: 0;
    top: 2px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--pm-secondary);
    color: #dd2e44;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
#pm-hero{
	padding: 80px 0;
}


/*=========================================
    WHY CHOOSE US
==========================================*/

.pm-why-choose{
    padding:100px 0;
    background:#FFF9F5;
}

.pm-container{
    width:1200px;
    max-width:92%;
    margin:auto;
}

/* Section Heading */

.pm-section-title{
    text-align:center;
    margin-bottom:60px;
}

.pm-section-title span{
    display:inline-block;
    color:#D9A441;
    font-size:15px;
    font-weight:600;
    letter-spacing:2px;
    text-transform:uppercase;
    margin-bottom:15px;
}

.pm-section-title h2{
    font-size:42px;
    font-weight:700;
    color:#8B1E3F;
    margin-bottom:20px;
}

.pm-section-title h2 span{
    color:#D9A441;
    font-size:inherit;
    letter-spacing:0;
    text-transform:none;
}

.pm-section-title p{
    max-width:700px;
    margin:auto;
    color:#666;
    line-height:1.8;
    font-size:17px;
}

/* Grid */

.pm-why-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

/* Card */

.pm-why-card{
    background:#fff;
    padding:40px 30px;
    border-radius:20px;
    text-align:center;
    transition:.35s;
    border:1px solid #F1E4D7;
    position:relative;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.05);
}

.pm-why-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 40px rgba(139,30,63,.15);
}

/* Gold Top Border Animation */

.pm-why-card::before{

    content:"";
    position:absolute;
    left:0;
    top:0;

    width:0;
    height:4px;

    background:#D9A441;

    transition:.35s;

}

.pm-why-card:hover::before{
    width:100%;
}

/* Icon */

.pm-icon{

    width:85px;
    height:85px;

    margin:auto auto 25px;

    border-radius:50%;

    background:#FFF5E5;

    display:flex;
    align-items:center;
    justify-content:center;

    transition:.35s;

}

.pm-icon i{

    font-size:34px;
    color:#8B1E3F;

    transition:.35s;

}

.pm-why-card:hover .pm-icon{

    background:#8B1E3F;

}

.pm-why-card:hover .pm-icon i{

    color:#fff;

}

/* Title */

.pm-why-card h3{

    font-size:22px;
    color:#8B1E3F;
    margin-bottom:15px;

}

/* Description */

.pm-why-card p{

    color:#666;
    line-height:1.8;
    font-size:15px;

}

/*=========================================
    Tablet
==========================================*/

@media(max-width:991px){

    .pm-why-grid{

        grid-template-columns:repeat(2,1fr);

    }

}

/*=========================================
    Mobile
==========================================*/

@media(max-width:767px){

    .pm-why-choose{

        padding:70px 0;

    }

    .pm-section-title h2{

        font-size:32px;

    }

    .pm-why-grid{

        grid-template-columns:1fr;

    }

}

/*=========================================
    HOW IT WORKS
==========================================*/

.pm-how-it-works{
    padding:100px 0;
    background:#ffffff;
    position:relative;
}

.pm-steps{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
    position:relative;
}

/* Dashed connector line */

.pm-steps::before{

    content:"";
    position:absolute;
    top:75px;
    left:12%;
    width:76%;
    border-top:2px dashed #D9A441;
    z-index:0;

}

/* Step Card */

.pm-step{

    position:relative;
    text-align:center;
    background:#fff;
    padding:40px 25px;
    border-radius:20px;
    transition:.35s;
    border:1px solid #F3E4D7;
    box-shadow:0 15px 35px rgba(0,0,0,.05);
    z-index:1;

}

.pm-step:hover{

    transform:translateY(-10px);
    box-shadow:0 20px 40px rgba(139,30,63,.15);

}

/* Step Number */

.pm-step-number{

    position:absolute;
    right:20px;
    top:20px;

    width:36px;
    height:36px;

    border-radius:50%;
    background:#D9A441;

    color:#fff;

    display:flex;
    align-items:center;
    justify-content:center;

    font-weight:700;
    font-size:16px;

}

/* Icon */

.pm-step-icon{

    width:90px;
    height:90px;

    margin:0 auto 25px;

    border-radius:50%;
    background:#FFF5E5;

    display:flex;
    align-items:center;
    justify-content:center;

    transition:.35s;

}

.pm-step-icon i{

    font-size:36px;
    color:#8B1E3F;
    transition:.35s;

}

.pm-step:hover .pm-step-icon{

    background:#8B1E3F;

}

.pm-step:hover .pm-step-icon i{

    color:#fff;

}

/* Heading */

.pm-step h3{

    font-size:22px;
    color:#8B1E3F;
    margin-bottom:15px;

}

/* Description */

.pm-step p{

    color:#666;
    line-height:1.8;
    font-size:15px;
    margin:0;

}

/* Responsive */

@media(max-width:1024px){

    .pm-steps{

        grid-template-columns:repeat(2,1fr);

    }

    .pm-steps::before{

        display:none;

    }

}

@media(max-width:767px){

    .pm-how-it-works{

        padding:70px 0;

    }

    .pm-steps{

        grid-template-columns:1fr;

    }

}


/*=========================================
    SUCCESS STORIES
==========================================*/

.pm-success-stories{
    padding:100px 0;
    background:#FFF9F5;
}

.pm-success-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:35px;
    margin-top:60px;
}

/* Card */

.pm-success-card{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 15px 35px rgba(0,0,0,.06);
    transition:.35s;
    border:1px solid #F3E4D7;
}

.pm-success-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 45px rgba(139,30,63,.18);
}

/* Image */

.pm-success-image{
    position:relative;
    overflow:hidden;
}

.pm-success-image img{
    width:100%;
    height:320px;
    object-fit:cover;
    display:block;
    transition:.4s;
}

.pm-success-card:hover .pm-success-image img{
    transform:scale(1.08);
}

/* Heart Badge */

.pm-success-image::after{

    content:"❤";

    position:absolute;

    right:20px;
    bottom:20px;

    width:50px;
    height:50px;

    border-radius:50%;

    background:#8B1E3F;

    color:#fff;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:22px;

    box-shadow:0 10px 25px rgba(0,0,0,.15);

}

/* Content */

.pm-success-content{
    padding:30px;
}

/* Couple Names */

.pm-success-content h3{
    margin:0 0 12px;
    color:#8B1E3F;
    font-size:24px;
    font-weight:700;
}

.pm-success-content h3 span{
    color:#D9A441;
}

/* Meta */

.pm-story-meta{
    display:flex;
    flex-wrap:wrap;
    gap:18px;
    margin-bottom:18px;
    font-size:14px;
    color:#777;
}

.pm-story-meta span{
    display:flex;
    align-items:center;
}

.pm-story-meta i{
    color:#D9A441;
    margin-right:8px;
}

/* Story */

.pm-success-content p{
    color:#666;
    line-height:1.8;
    margin-bottom:25px;
}

/* Read More */

.pm-read-more{
    display:inline-flex;
    align-items:center;
    color:#8B1E3F;
    font-weight:600;
    text-decoration:none;
    transition:.3s;
}

.pm-read-more:hover{
    color:#D9A441;
}

.pm-read-more::after{
    content:"→";
    margin-left:8px;
    transition:.3s;
}

.pm-read-more:hover::after{
    transform:translateX(5px);
}

/* Responsive */

@media(max-width:1024px){

    .pm-success-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:767px){

    .pm-success-stories{
        padding:70px 0;
    }

    .pm-success-grid{
        grid-template-columns:1fr;
        gap:25px;
    }

    .pm-success-image img{
        height:280px;
    }

    .pm-success-content{
        padding:25px;
    }

}








/**
 * Shibhu Matrimony - Frontend Styles
 * Astra / WordPress Theme Compatible
 *
 * Uses Astra/theme CSS variables where available.
 */

/* ============================================================
   Theme Variables
   ============================================================ */

:root {
    --sm-primary: var(--ast-global-color-0, #0274be);
    --sm-primary-hover: var(--ast-global-color-1, #014a7a);
    --sm-text: var(--ast-global-color-3, #3a3a3a);
    --sm-heading: var(--ast-global-color-2, #1f2933);
    --sm-light-bg: var(--ast-global-color-5, #f5f5f5);
    --sm-border: #e5e7eb;
    --sm-white: #ffffff;
    --sm-muted: #6b7280;
    --sm-success: #198754;
    --sm-danger: #dc3545;
    --sm-warning: #f59e0b;
}


/* ============================================================
   Common
   ============================================================ */

.sm-profiles-grid,
.sm-profile-form-wrapper,
.sm-search-form-wrapper,
.sm-auth-wrapper,
.sm-login-required,
.sm-single-profile {
    font-family: inherit;
    color: var(--sm-text);
}

.sm-profiles-grid a,
.sm-profile-form-wrapper a,
.sm-search-form-wrapper a,
.sm-auth-wrapper a,
.sm-login-required a,
.sm-single-profile a {
    color: var(--sm-primary);
}

.sm-profiles-grid a:hover,
.sm-profile-form-wrapper a:hover,
.sm-search-form-wrapper a:hover,
.sm-auth-wrapper a:hover,
.sm-login-required a:hover,
.sm-single-profile a:hover {
    color: var(--sm-primary-hover);
}


/* ============================================================
   Profile Grid
   ============================================================ */

.sm-profiles-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 30px 0;
}


/* ============================================================
   Profile Card
   ============================================================ */

.sm-profile-card {
    background: var(--sm-white);
    border: 1px solid var(--sm-border);
    border-radius: 6px;
    overflow: hidden;
    transition:
        box-shadow 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.sm-profile-card:hover {
    border-color: color-mix(
        in srgb,
        var(--sm-primary) 30%,
        var(--sm-border)
    );
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.sm-profile-card-inner {
    display: flex;
    min-height: 200px;
}


/* ============================================================
   Profile Image
   ============================================================ */

.sm-profile-left {
    width: 200px;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    background: var(--sm-light-bg);
    border-right: 1px solid var(--sm-border);
}

.sm-profile-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f3f4f6;
    flex-shrink: 0;
}

.sm-profile-image a {
    display: block;
    width: 100%;
    height: 100%;
}

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

.sm-profile-image.sm-no-image {
    background: linear-gradient(
        135deg,
        #eeeeee 0%,
        #f8f8f8 100%
    );
}

.sm-no-image-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sm-muted);
}


/* ============================================================
   View Profile Button
   ============================================================ */

.sm-view-full-profile {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 11px 15px;
    background: var(--sm-primary);
    color: #fff !important;
    text-decoration: none !important;
    font-size: 0.9em;
    font-weight: 600;
    text-align: center;
    transition: background 0.2s ease;
    flex: 1;
}

.sm-view-full-profile:hover {
    background: var(--sm-primary-hover);
    color: #fff !important;
}


/* ============================================================
   Profile Details
   ============================================================ */

.sm-profile-right {
    flex: 1;
    padding: 18px 22px;
    display: flex;
    flex-direction: column;
    background: var(--sm-white);
}

.sm-profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--sm-border);
    flex-direction: row-reverse;
}

.sm-profile-id {
    margin: 0;
    font-size: 1.1em;
    font-weight: 700;
    color: var(--sm-primary);
}

.sm-profile-id a {
    color: var(--sm-primary);
    text-decoration: none;
}

.sm-profile-id a:hover {
    color: var(--sm-primary-hover);
    text-decoration: underline;
}

.sm-profile-actions {
    display: inline-flex;
    gap: 8px;
    align-items: center;
}


/* ============================================================
   Profile Action Buttons
   ============================================================ */

.sm-quick-response,
.sm-view-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 13px;
    font-size: 0.82em;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none !important;
    transition: all 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
}

.sm-quick-response {
    background: var(--sm-white);
    color: var(--sm-primary) !important;
    border: 1px solid var(--sm-primary);
}

.sm-quick-response:hover {
    background: var(--sm-primary);
    color: #fff !important;
}

.sm-view-contact {
    background: var(--sm-primary);
    color: #fff !important;
    border: 1px solid var(--sm-primary);
}

.sm-view-contact:hover {
    background: var(--sm-primary-hover);
    border-color: var(--sm-primary-hover);
    color: #fff !important;
}

.sm-quick-response svg,
.sm-view-contact svg {
    width: 16px;
    height: 16px;
}


/* ============================================================
   Profile Details Grid
   ============================================================ */

.sm-profile-details-grid {
    display: flex;
    flex-direction: column;
    font-size: 14px;
}

.sm-detail-row {
    display: grid;
    grid-template-columns: 150px 20px 1fr;
    gap: 5px;
    font-size: 0.9em;
    line-height: 1.5;
    padding: 4px 0;
}

.sm-detail-label {
    color: var(--sm-muted);
    font-weight: 500;
}

.sm-detail-separator {
    color: #9ca3af;
}

.sm-detail-value {
    color: var(--sm-text);
    font-weight: 400;
}


/* ============================================================
   Pagination
   ============================================================ */

.sm-pagination {
    margin: 35px 0;
    text-align: center;
}

.sm-pagination .page-numbers {
    display: inline-block;
    min-width: 40px;
    padding: 8px 12px;
    margin: 0 3px;
    background: var(--sm-white);
    border: 1px solid var(--sm-border);
    color: var(--sm-text);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.sm-pagination .page-numbers:hover,
.sm-pagination .page-numbers.current {
    background: var(--sm-primary);
    color: #fff;
    border-color: var(--sm-primary);
}


/* ============================================================
   Profile Submission Form
   ============================================================ */

.sm-profile-form-wrapper {
    max-width: 800px;
    margin: 30px auto;
    padding: 30px;
    background: var(--sm-white);
    border: 1px solid var(--sm-border);
    border-radius: 6px;
}

.sm-form-section {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--sm-border);
}

.sm-form-section:last-of-type {
    border-bottom: none;
}

.sm-form-section h3 {
    margin: 0 0 20px;
    font-size: 1.3em;
    color: var(--sm-heading);
}

.sm-form-row {
    margin-bottom: 20px;
}

.sm-form-row label {
    display: block;
    margin-bottom: 7px;
    font-weight: 600;
    color: var(--sm-text);
}

.sm-form-row input[type="text"],
.sm-form-row input[type="email"],
.sm-form-row input[type="tel"],
.sm-form-row input[type="number"],
.sm-form-row input[type="date"],
.sm-form-row input[type="password"],
.sm-form-row select,
.sm-form-row textarea {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid var(--sm-border);
    border-radius: 4px;
    font-size: 1em;
    font-family: inherit;
    background: var(--sm-white);
    color: var(--sm-text);
    box-sizing: border-box;
}

.sm-form-row input:focus,
.sm-form-row select:focus,
.sm-form-row textarea:focus {
    outline: none;
    border-color: var(--sm-primary);
    box-shadow: 0 0 0 2px rgba(2, 116, 190, 0.1);
}

.sm-form-row textarea {
    resize: vertical;
    min-height: 100px;
}

.sm-form-actions {
    text-align: center;
    margin-top: 30px;
}

.sm-submit-btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--sm-primary);
    color: #fff;
    border: 1px solid var(--sm-primary);
    border-radius: 4px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sm-submit-btn:hover {
    background: var(--sm-primary-hover);
    border-color: var(--sm-primary-hover);
}


/* ============================================================
   Search Form
   ============================================================ */

.sm-search-form-wrapper {
    margin: 30px 0;
    padding: 25px;
    background: var(--sm-light-bg);
    border: 1px solid var(--sm-border);
    border-radius: 6px;
}

.sm-search-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.sm-search-field label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.9em;
    color: var(--sm-text);
}

.sm-search-field input,
.sm-search-field select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--sm-border);
    border-radius: 4px;
    background: var(--sm-white);
    color: var(--sm-text);
    box-sizing: border-box;
}

.sm-search-field input:focus,
.sm-search-field select:focus {
    outline: none;
    border-color: var(--sm-primary);
}

.sm-search-actions {
    text-align: center;
}

.sm-search-btn,
.sm-reset-btn {
    display: inline-block;
    padding: 10px 25px;
    margin: 0 4px;
    border-radius: 4px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.sm-search-btn {
    background: var(--sm-primary);
    color: #fff !important;
    border: 1px solid var(--sm-primary);
}

.sm-search-btn:hover {
    background: var(--sm-primary-hover);
    color: #fff !important;
}

.sm-reset-btn {
    background: transparent;
    color: var(--sm-text) !important;
    border: 1px solid var(--sm-border);
}

.sm-reset-btn:hover {
    background: var(--sm-light-bg);
}


/* ============================================================
   Auth / Login
   ============================================================ */

.sm-auth-wrapper {
    max-width: 500px;
    margin: 30px auto;
}

.sm-auth-message {
    text-align: center;
    margin-bottom: 25px;
    padding: 18px 20px;
    background: color-mix(
        in srgb,
        var(--sm-primary) 8%,
        white
    );
    border-left: 4px solid var(--sm-primary);
    border-radius: 4px;
}

.sm-auth-message p {
    margin: 0;
    color: var(--sm-text);
}

.sm-tab-buttons {
    display: flex;
    border-bottom: 1px solid var(--sm-border);
    margin-bottom: 25px;
}

.sm-tab-btn {
    flex: 1;
    padding: 13px 15px;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    font-size: 1em;
    font-weight: 600;
    color: var(--sm-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.sm-tab-btn:hover,
.sm-tab-btn.active {
    color: var(--sm-primary);
}

.sm-tab-btn.active {
    border-bottom-color: var(--sm-primary);
}

.sm-tab-content {
    display: none;
}

.sm-tab-content.active {
    display: block;
}

.sm-auth-form-container {
    padding: 10px 0;
}

.sm-auth-form-container label {
    display: block;
    margin-bottom: 7px;
    font-weight: 600;
    color: var(--sm-text);
}

.sm-auth-form-container input[type="text"],
.sm-auth-form-container input[type="password"],
.sm-auth-form-container input[type="email"] {
    width: 100%;
    padding: 11px 13px;
    margin-bottom: 15px;
    border: 1px solid var(--sm-border);
    border-radius: 4px;
    font-size: 1em;
    box-sizing: border-box;
}

.sm-auth-form-container input:focus {
    outline: none;
    border-color: var(--sm-primary);
}

.sm-auth-form-container input[type="submit"],
.sm-auth-form-container button[type="submit"] {
    width: 100%;
    padding: 12px;
    background: var(--sm-primary);
    color: #fff;
    border: 1px solid var(--sm-primary);
    border-radius: 4px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sm-auth-form-container input[type="submit"]:hover,
.sm-auth-form-container button[type="submit"]:hover {
    background: var(--sm-primary-hover);
    border-color: var(--sm-primary-hover);
}

.sm-auth-links,
.sm-login-links {
    margin-top: 20px;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--sm-border);
}

.sm-auth-links a,
.sm-login-links a {
    color: var(--sm-primary);
    text-decoration: none;
}

.sm-auth-links a:hover,
.sm-login-links a:hover {
    color: var(--sm-primary-hover);
    text-decoration: underline;
}


/* ============================================================
   Login Required
   ============================================================ */

.sm-login-required {
    max-width: 500px;
    margin: 50px auto;
    padding: 30px;
    background: var(--sm-white);
    border: 1px solid var(--sm-border);
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.sm-login-message {
    text-align: center;
    margin-bottom: 25px;
    padding: 18px;
    background: var(--sm-light-bg);
    border-left: 4px solid var(--sm-primary);
    border-radius: 4px;
}

.sm-login-message p {
    margin: 0;
    color: var(--sm-text);
}

.sm-login-form-container {
    padding: 10px 0;
}

.sm-login-form-container label {
    display: block;
    margin-bottom: 7px;
    font-weight: 600;
    color: var(--sm-text);
}

.sm-login-form-container input[type="text"],
.sm-login-form-container input[type="password"] {
    width: 100%;
    padding: 11px 13px;
    margin-bottom: 15px;
    border: 1px solid var(--sm-border);
    border-radius: 4px;
    box-sizing: border-box;
}

.sm-login-form-container input[type="text"]:focus,
.sm-login-form-container input[type="password"]:focus {
    outline: none;
    border-color: var(--sm-primary);
}

.sm-login-form-container input[type="submit"] {
    width: 100%;
    padding: 12px;
    background: var(--sm-primary);
    color: #fff;
    border: 1px solid var(--sm-primary);
    border-radius: 4px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
}

.sm-login-form-container input[type="submit"]:hover {
    background: var(--sm-primary-hover);
}


/* ============================================================
   Access Denied
   ============================================================ */

.sm-access-denied {
    padding: 25px;
    text-align: center;
    background: #fff5f5;
    color: var(--sm-danger);
    border: 1px solid #fecaca;
    border-radius: 5px;
    margin: 30px 0;
}

.sm-access-denied a {
    color: var(--sm-danger);
    font-weight: 600;
}


/* ============================================================
   Single Profile
   ============================================================ */

.sm-single-profile {
    max-width: 900px;
    margin: 30px auto;
}

.sm-profile-header {
    text-align: center;
    margin-bottom: 15px;
}

.sm-profile-header .sm-profile-image {
    width: 250px;
    height: 250px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
}

.sm-profile-header .sm-profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sm-profile-number {
    font-size: 0.95em;
    color: var(--sm-muted);
    margin: 10px 0;
}

.sm-profile-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.sm-detail-section {
    padding: 20px;
    background: var(--sm-light-bg);
    border: 1px solid var(--sm-border);
    border-radius: 6px;
}

.sm-detail-section h3 {
    margin: 0 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--sm-primary);
    font-size: 1.2em;
    color: var(--sm-heading);
}

.sm-profile-field {
    margin-bottom: 8px;
    padding: 8px 0;
    border-bottom: 1px solid var(--sm-border);
}

.sm-profile-field:last-child {
    border-bottom: none;
}

.sm-profile-field strong {
    display: inline-block;
    min-width: 150px;
    color: var(--sm-muted);
}


/* ============================================================
   Locked Profile Image
   ============================================================ */

.sm-profile-image.sm-image-locked {
    background: var(--sm-primary);
    position: relative;
}

.sm-locked-image-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: #fff;
    text-align: center;
    padding: 20px;
}

.sm-locked-image-placeholder svg {
    width: 60px;
    height: 60px;
    opacity: 0.9;
}

.sm-locked-image-placeholder span {
    font-size: 0.9em;
    font-weight: 600;
}


/* ============================================================
   Login Required Notice
   ============================================================ */

.sm-login-required-wrap {
    max-width: 520px;
    margin: 48px auto;
    padding: 0 16px;
}

.sm-login-required-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #fff8e1;
    border-left: 4px solid var(--sm-warning);
    border-radius: 5px;
    padding: 14px 18px;
    margin-bottom: 24px;
    font-size: 0.925rem;
    color: #78350f;
    line-height: 1.5;
}

.sm-login-required-notice svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--sm-warning);
}

.sm-login-required-notice p {
    margin: 0;
    font-weight: 500;
}


/* ============================================================
   Elegant Login Box
   ============================================================ */

.sm-elegant-login-box {
    position: relative;
    max-width: 480px;
    width: 100%;
    margin: 30px auto;
    background: var(--sm-white);
    border: 1px solid var(--sm-border);
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.sm-login-box-header {
    padding: 32px 35px 25px;
    text-align: center;
    background: var(--sm-primary);
    color: #fff;
}

.sm-login-box-header h2 {
    margin: 0 0 10px;
    font-size: 1.6em;
    font-weight: 700;
    color: #fff;
}

.sm-login-box-header p {
    margin: 0;
    font-size: 0.95em;
    opacity: 0.95;
    line-height: 1.6;
}

.sm-login-box-tabs {
    padding: 30px 35px;
}

.sm-login-tab-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 25px;
}

.sm-login-tab-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 15px;
    background: var(--sm-light-bg);
    border: 1px solid var(--sm-border);
    border-radius: 4px;
    font-size: 0.95em;
    font-weight: 600;
    color: var(--sm-text);
    cursor: pointer;
    transition: all 0.2s ease;
}

.sm-login-tab-btn:hover {
    border-color: var(--sm-primary);
    color: var(--sm-primary);
}

.sm-login-tab-btn.active {
    background: var(--sm-primary);
    border-color: var(--sm-primary);
    color: #fff;
}


/* ============================================================
   Inline Login / Register Forms
   ============================================================ */

.sm-inline-login-form,
.sm-inline-register-form {
    margin: 0;
}

.sm-inline-login-form .sm-form-row,
.sm-inline-register-form .sm-form-row {
    margin-bottom: 18px;
}

.sm-inline-login-form label,
.sm-inline-register-form label {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 7px;
    font-weight: 600;
    font-size: 0.9em;
    color: var(--sm-text);
}

.sm-inline-login-form input[type="text"],
.sm-inline-login-form input[type="password"],
.sm-inline-login-form input[type="email"],
.sm-inline-register-form input[type="text"],
.sm-inline-register-form input[type="password"],
.sm-inline-register-form input[type="email"] {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid var(--sm-border);
    border-radius: 4px;
    font-size: 1em;
    font-family: inherit;
    background: #fff;
    color: var(--sm-text);
    box-sizing: border-box;
}

.sm-inline-login-form input:focus,
.sm-inline-register-form input:focus {
    outline: none;
    border-color: var(--sm-primary);
    box-shadow: 0 0 0 2px rgba(2, 116, 190, 0.1);
}


/* ============================================================
   Remember Me
   ============================================================ */

.sm-remember-row {
    margin-bottom: 20px !important;
}

.sm-checkbox-label {
    display: flex !important;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: normal !important;
}

.sm-checkbox-label input[type="checkbox"] {
    width: 17px;
    height: 17px;
}


/* ============================================================
   Login Button
   ============================================================ */

.sm-login-submit-btn {
    width: 100%;
    padding: 12px 20px;
    background: var(--sm-primary);
    color: #fff;
    border: 1px solid var(--sm-primary);
    border-radius: 4px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sm-login-submit-btn:hover {
    background: var(--sm-primary-hover);
    border-color: var(--sm-primary-hover);
    color: #fff;
}

.sm-login-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}


/* ============================================================
   Auth Links
   ============================================================ */

.sm-login-box-links {
    margin-top: 20px;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--sm-border);
}

.sm-login-box-links a {
    color: var(--sm-primary);
    text-decoration: none;
    font-size: 0.9em;
}

.sm-login-box-links a:hover {
    color: var(--sm-primary-hover);
    text-decoration: underline;
}


/* ============================================================
   Form Messages
   ============================================================ */

.sm-form-message.success {
    display: block;
    background: #ecfdf3;
    color: #166534;
    border: 1px solid #bbf7d0;
    padding: 12px 15px;
    border-radius: 4px;
}

.sm-form-message.error {
    display: block;
    background: #fff5f5;
    color: #991b1b;
    border: 1px solid #fecaca;
    padding: 12px 15px;
    border-radius: 4px;
}


/* ============================================================
   Loading Spinner
   ============================================================ */

.sm-loading {
    text-align: center;
    padding: 40px;
}

.sm-loading::after {
    content: "";
    display: inline-block;
    width: 36px;
    height: 36px;
    border: 3px solid var(--sm-border);
    border-top-color: var(--sm-primary);
    border-radius: 50%;
    animation: sm-spin 0.8s linear infinite;
}

@keyframes sm-spin {
    to {
        transform: rotate(360deg);
    }
}


/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 768px) {

    .sm-profile-card-inner {
        flex-direction: column;
    }

    .sm-profile-left {
        width: 100%;
        min-width: 0;
        border-right: none;
        border-bottom: 1px solid var(--sm-border);
    }

    .sm-profile-image {
        height: 240px;
    }

    .sm-profile-header {
        flex-direction: column;
        gap: 10px;
    }

    .sm-profile-actions {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .sm-quick-response,
    .sm-view-contact {
        flex: 1;
    }

    .sm-detail-row {
        grid-template-columns: 120px 15px 1fr;
    }

    .sm-profile-form-wrapper,
    .sm-login-required,
    .sm-auth-wrapper {
        margin: 20px 10px;
        padding: 20px;
    }

    .sm-login-box-tabs {
        padding: 25px 20px;
    }
}


@media (max-width: 480px) {

    .sm-detail-row {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .sm-detail-separator {
        display: none;
    }

    .sm-detail-label {
        font-weight: 600;
    }

    .sm-login-tab-buttons {
        grid-template-columns: 1fr;
    }

    .sm-login-box-header {
        padding: 25px 20px;
    }

    .sm-login-box-tabs {
        padding: 20px;
    }
}