/**
 * Shibhu Matrimony - Frontend Styles
 */

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

/* Profile Card - Horizontal Layout */
.sm-profile-card {
    background: #fff;
    border: 2px solid #e5e5e5;
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.sm-profile-card:hover {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border-color: #d0d0d0;
}

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

/* Left Side - Image Section */
.sm-profile-left {
    width: 200px;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    background: #f9f9f9;
    border-right: 1px solid #e5e5e5;
}

.sm-profile-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
    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, #e0e0e0 0%, #f0f0f0 100%);
}

.sm-no-image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.sm-view-full-profile {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 10px;
    background: #007bff;
    text-decoration: none;
    font-size: 0.85em;
    font-weight: 500;
    text-align: center;
    transition: background 0.3s ease, color 0.3s ease;
    flex: 1;
    color: #fff;
}

.sm-view-full-profile:hover {
    background: #000;
    color: #fff;
}

/* Right Side - Profile Details */
.sm-profile-right {
    flex: 1;
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    background: #f1fffd;
}

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

.sm-profile-id {
    margin: 0;
    font-size: 1.1em;
    font-weight: 700;
    color: #c41e3a;
}

.sm-profile-id a {
    color: #c41e3a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sm-profile-id a:hover {
    color: #a01729;
    text-decoration: underline;
}

.sm-profile-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-end;
    display: inline-block;
}

.sm-quick-response,
.sm-view-contact {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 0.8em;
    font-weight: 500;
    border-radius: 3px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.sm-quick-response {
    background: #fff;
    color: #c41e3a;
    border: 1px solid #c41e3a;
}

.sm-quick-response:hover {
    background: #c41e3a;
    color: #fff;
}

.sm-view-contact {
    background: #ff69b4;
    color: #fff;
    border: 1px solid #ff69b4;
}

.sm-view-contact:hover {
    background: #ff1493;
    border-color: #ff1493;
    color: #fff;
}

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

/* Profile Details Grid */
.sm-profile-details-grid {
    display: flex;
    flex-direction: column;
    gap: 0px;
    font-size: 14px;
}

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

.sm-detail-label {
    color: #666;
    font-weight: 500;
}

.sm-detail-separator {
    color: #999;
}

.sm-detail-value {
    color: #333;
    font-weight: 400;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sm-profile-card-inner {
        flex-direction: column;
    }
    
    .sm-profile-left {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e5e5e5;
    }
    
    .sm-profile-image {
        height: 200px;
    }
    
    .sm-profile-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .sm-profile-actions {
        flex-direction: row;
        width: 100%;
    }
    
    .sm-quick-response,
    .sm-view-contact {
        flex: 1;
        justify-content: center;
    }
    
    .sm-detail-row {
        grid-template-columns: 120px auto 1fr;
        font-size: 0.85em;
    }
}

@media (max-width: 480px) {
    .sm-detail-row {
        grid-template-columns: 1fr;
        gap: 2px;
    }
    
    .sm-detail-separator {
        display: none;
    }
    
    .sm-detail-label {
        font-weight: 600;
    }
}

/* No Profiles */
.sm-no-profiles {
    text-align: center;
    padding: 40px;
    font-size: 1.1em;
    color: #666;
}

/* Pagination */
.sm-pagination {
    margin: 40px 0;
    text-align: center;
}

.sm-pagination .page-numbers {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 3px;
    background: #fff;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.sm-pagination .page-numbers:hover,
.sm-pagination .page-numbers.current {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
}

/* Profile Submission Form */
.sm-profile-form-wrapper {
    max-width: 800px;
    margin: 30px auto;
    padding: 30px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.sm-form-section {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

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

.sm-form-section h3 {
    margin: 0 0 20px;
    font-size: 1.3em;
    color: #333;
}

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

.sm-form-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.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: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
}

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

.sm-form-row input[type="file"] {
    padding: 5px;
}

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

.sm-submit-btn {
    padding: 12px 40px;
    background: #28a745;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background 0.3s ease;
}

.sm-submit-btn:hover {
    background: #218838;
}

.sm-form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
    display: none;
}

.sm-form-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.sm-form-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Search Form */
.sm-search-form-wrapper {
    margin: 30px 0;
    padding: 25px;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.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: 5px;
    font-weight: 600;
    font-size: 0.9em;
    color: #333;
}

.sm-search-field input,
.sm-search-field select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

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

.sm-search-btn,
.sm-reset-btn {
    display: inline-block;
    padding: 10px 30px;
    margin: 0 5px;
    border: none;
    border-radius: 4px;
    font-size: 1em;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sm-search-btn {
    background: #007bff;
    color: #fff;
}

.sm-search-btn:hover {
    background: #0056b3;
}

.sm-reset-btn {
    background: #6c757d;
    color: #fff;
}

.sm-reset-btn:hover {
    background: #545b62;
    color: #fff;
}

/* Auth Wrapper (Login/Register Tabs) */
.sm-auth-wrapper {
    max-width: 500px;
    margin: 10px auto;
}

.sm-auth-message {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: #e7f3ff;
    border-left: 4px solid #007bff;
    border-radius: 4px;
}

.sm-auth-message p {
    margin: 0;
    font-size: 1.1em;
    color: #333;
}

/* Tab Buttons */
.sm-tab-buttons {
    display: flex;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 30px;
}

.sm-tab-btn {
    flex: 1;
    padding: 15px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 1.1em;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sm-tab-btn:hover {
    color: #007bff;
}

.sm-tab-btn.active {
    color: #007bff;
    border-bottom-color: #007bff;
}

/* Tab Content */
.sm-tab-content {
    display: none;
}

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

/* Auth Form Container */
.sm-auth-form-container {
    padding: 20px;
}

.sm-auth-form-container form {
    margin: 0;
}

.sm-auth-form-container label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.sm-auth-form-container input[type="text"],
.sm-auth-form-container input[type="password"],
.sm-auth-form-container input[type="email"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
}

.sm-auth-form-container input[type="submit"],
.sm-auth-form-container button[type="submit"] {
    width: 100%;
    padding: 12px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background 0.3s ease;
}

.sm-auth-form-container input[type="submit"]:hover,
.sm-auth-form-container button[type="submit"]:hover {
    background: #0056b3;
}

.sm-auth-form-container .login-remember {
    margin-bottom: 15px;
}

.sm-auth-form-container .login-remember label {
    display: inline;
    margin-left: 5px;
    font-weight: normal;
}

.sm-auth-links {
    margin-top: 20px;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.sm-auth-links p {
    margin: 8px 0;
}

.sm-auth-links a {
    color: #007bff;
    text-decoration: none;
}

.sm-auth-links a:hover {
    text-decoration: underline;
}

/* Login Required Styles */
.sm-login-required {
    max-width: 500px;
    margin: 50px auto;
    padding: 30px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.sm-login-message {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-left: 4px solid #007bff;
    border-radius: 4px;
}

.sm-login-message p {
    margin: 0;
    font-size: 1.1em;
    color: #333;
}

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

.sm-login-form-container form {
    margin: 0;
}

.sm-login-form-container label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.sm-login-form-container input[type="text"],
.sm-login-form-container input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
}

.sm-login-form-container input[type="submit"] {
    width: 100%;
    padding: 12px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background 0.3s ease;
}

.sm-login-form-container input[type="submit"]:hover {
    background: #0056b3;
}

.sm-login-form-container .login-remember {
    margin-bottom: 15px;
}

.sm-login-form-container .login-remember label {
    display: inline;
    margin-left: 5px;
    font-weight: normal;
}

.sm-login-links {
    margin-top: 20px;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.sm-login-links p {
    margin: 8px 0;
}

.sm-login-links a {
    color: #007bff;
    text-decoration: none;
}

.sm-login-links a:hover {
    text-decoration: underline;
}

/* Access Denied */
.sm-access-denied {
    padding: 30px;
    text-align: center;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    margin: 30px 0;
}

.sm-access-denied a {
    color: #721c24;
    text-decoration: underline;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sm-profiles-grid {
        grid-template-columns: 1fr;
    }

    .sm-search-row {
        grid-template-columns: 1fr;
    }

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

    .sm-tab-btn {
        font-size: 1em;
        padding: 12px;
    }
}

/* Loading Spinner */
.sm-loading {
    text-align: center;
    padding: 40px;
}

.sm-loading::after {
    content: "";
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    animation: sm-spin 1s linear infinite;
}

@keyframes sm-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Single Profile Page */
.sm-single-profile {
    max-width: 900px;
    margin: 30px auto;
}

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

.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: #666;
    margin: 10px 0;
}

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

.sm-detail-section {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.sm-detail-section h3 {
    margin: 0 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #007bff;
    font-size: 1.2em;
}

.sm-profile-field {
    margin-bottom: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
}

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

.sm-profile-field strong {
    display: inline-block;
    min-width: 150px;
    color: #555;
}
/* Elegant Login Box Overlay Styles */

.sm-profile-login-overlay {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.sm-profile-preview-blur {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    filter: blur(8px);
    opacity: 0.3;
    pointer-events: none;
    overflow: hidden;
}

.sm-single-profile.sm-blurred {
    padding: 40px 20px;
}

/* Elegant Login Box */
.sm-elegant-login-box {
    position: relative;
    z-index: 10;
    max-width: 480px;
    width: 100%;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    animation: sm-fadeInUp 0.5s ease-out;
}

@keyframes sm-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sm-login-box-header {
    padding: 40px 40px 30px;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
}

.sm-login-box-header h2 {
    margin: 0 0 12px;
    font-size: 1.75em;
    font-weight: 700;
    color: #ffffff;
}

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

/* Login Box Tabs */
.sm-login-box-tabs {
    padding: 40px;
}

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

.sm-login-tab-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1em;
    font-weight: 600;
    color: #495057;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sm-login-tab-btn:hover {
    background: #e9ecef;
    border-color: #dee2e6;
}

.sm-login-tab-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: #ffffff;
}

.sm-login-tab-btn svg {
    width: 20px;
    height: 20px;
}

/* Tab Content */
.sm-login-tab-content {
    display: none;
}

.sm-login-tab-content.active {
    display: block;
    animation: sm-fadeIn 0.3s ease-out;
}

@keyframes sm-fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Inline 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: 20px;
}

.sm-inline-login-form label,
.sm-inline-register-form label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9em;
    color: #495057;
}

.sm-inline-login-form label svg,
.sm-inline-register-form label svg {
    width: 18px;
    height: 18px;
    color: #667eea;
}

.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: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1em;
    transition: all 0.3s ease;
}

.sm-inline-login-form input:focus,
.sm-inline-register-form input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Remember Me Checkbox */
.sm-remember-row {
    margin-bottom: 25px !important;
}

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

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

.sm-checkbox-label span {
    font-size: 0.95em;
    color: #6c757d;
}

/* Submit Button */
.sm-login-submit-btn {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 1.05em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.sm-login-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.sm-login-submit-btn:active {
    transform: translateY(0);
}

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

/* Form Message */
.sm-inline-login-form .sm-form-message,
.sm-inline-register-form .sm-form-message {
    margin-top: 20px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9em;
    display: none;
}

.sm-inline-login-form .sm-form-message.success,
.sm-inline-register-form .sm-form-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.sm-inline-login-form .sm-form-message.error,
.sm-inline-register-form .sm-form-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Login Box Links */
.sm-login-box-links {
    margin-top: 20px;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.sm-login-box-links a {
    color: #667eea;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 500;
    transition: color 0.3s ease;
}

.sm-login-box-links a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 576px) {
    .sm-elegant-login-box {
        margin: 20px;
    }

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

    .sm-login-box-header h2 {
        font-size: 1.5em;
    }

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

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

    .sm-login-tab-btn {
        padding: 12px 16px;
        font-size: 0.95em;
    }
}

/* Loading State */
.sm-login-submit-btn.loading {
    position: relative;
    color: transparent;
}

.sm-login-submit-btn.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: sm-spin 0.6s linear infinite;
}

@keyframes sm-spin {
    to {
        transform: rotate(360deg);
    }
}
/* Locked Image Placeholder Styles */

.sm-profile-image.sm-image-locked {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
}

.sm-locked-image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: #ffffff;
    text-align: center;
    padding: 20px;
}

.sm-locked-image-placeholder svg {
    width: 64px;
    height: 64px;
    opacity: 0.9;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
    animation: sm-lock-pulse 2s ease-in-out infinite;
}

@keyframes sm-lock-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.9;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.sm-locked-image-placeholder span {
    font-size: 0.9em;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.3px;
}

/* Hover effect for locked images */
.sm-image-locked:hover .sm-locked-image-placeholder {
    background: rgba(0, 0, 0, 0.1);
}

.sm-image-locked:hover .sm-locked-image-placeholder svg {
    transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .sm-locked-image-placeholder svg {
        width: 48px;
        height: 48px;
    }
    
    .sm-locked-image-placeholder span {
        font-size: 0.85em;
    }
}

/* ============================================================
   Login-required wrapper (single profile page access gate)
   ============================================================ */
.sm-login-required-wrap {
    max-width: 520px;
    margin: 48px auto;
    padding: 0 16px;
}

/* Notice banner shown above the auth card */
.sm-login-required-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #fff8e1;
    border-left: 4px solid #f59e0b;
    border-radius: 8px;
    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: #f59e0b;
}

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

/* ============================================================
   Auth card input hard-reset
   Prevents theme stylesheets from hiding or collapsing the
   login / register inputs inside the auth card on any page
   (profile access gate, submit-form shortcode, etc.).
   ============================================================ */
.sm-auth-card .sm-inline-form .sm-input,
.sm-auth-card .sm-inline-form input[type="text"],
.sm-auth-card .sm-inline-form input[type="email"],
.sm-auth-card .sm-inline-form input[type="password"],
.sm-auth-card .sm-inline-form input[type="number"] {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    height: auto !important;
    min-height: 44px !important;
    padding: 11px 16px !important;
    border: 1.5px solid #e5e7eb !important;
    border-radius: 6px !important;
    font-size: 0.9375rem !important;
    color: #374151 !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    clip: auto !important;
    clip-path: none !important;
    position: static !important;
    transform: none !important;
}

.sm-auth-card .sm-inline-form input[type="text"]:focus,
.sm-auth-card .sm-inline-form input[type="email"]:focus,
.sm-auth-card .sm-inline-form input[type="password"]:focus {
    border-color: #7c3aed !important;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12) !important;
    background: #fff !important;
    outline: none !important;
}

.sm-auth-card .sm-inline-form .sm-input-wrap {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    height: auto !important;
}

.sm-auth-card .sm-inline-form .sm-field {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    margin-bottom: 16px !important;
    width: 100% !important;
}

.sm-auth-card .sm-inline-form .sm-password-wrap .sm-toggle-pass {
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: none !important;
    border: none !important;
    padding: 4px !important;
    cursor: pointer !important;
    color: #6b7280 !important;
    line-height: 0 !important;
    display: flex !important;
}

.sm-auth-card .sm-inline-form .sm-password-wrap input {
    padding-right: 44px !important;
}