/* Matrimonial Website - Main Stylesheet */
/* Basic styles - will be enhanced with Tailwind CSS */

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Container and layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header styles */
header {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #e91e63;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #e91e63;
}

/* Button styles */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.375rem;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background-color: #e91e63;
    color: white;
}

.btn-primary:hover {
    background-color: #c2185b;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

.btn-outline {
    background-color: transparent;
    color: #e91e63;
    border: 2px solid #e91e63;
}

.btn-outline:hover {
    background-color: #e91e63;
    color: white;
}

/* Form styles */
.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #e91e63;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

.form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

/* Card styles */
.card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.card-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    background-color: #f9fafb;
}

.card-body {
    padding: 1.5rem;
}

.card-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #e5e7eb;
    background-color: #f9fafb;
}

/* Grid system */
.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

/* Responsive grid */
@media (max-width: 768px) {
    .grid-cols-2,
    .grid-cols-3,
    .grid-cols-4 {
        grid-template-columns: 1fr;
    }
}

/* Alert styles */
.alert {
    padding: 1rem;
    border-radius: 0.375rem;
    margin-bottom: 1rem;
}

.alert-success {
    background-color: #d1f2eb;
    color: #0f5132;
    border: 1px solid #a3cfbb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f1aeb5;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.alert-info {
    background-color: #cff4fc;
    color: #055160;
    border: 1px solid #9eeaf9;
}

/* Utility classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }
.p-5 { padding: 3rem; }

/* Profile photo styles */
.profile-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e91e63;
}

.profile-photo-lg {
    width: 200px;
    height: 200px;
}

/* Loading spinner */
.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #e91e63;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

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

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

/* Navigation enhancements */
.dropdown-menu {
    display: none;
}

.dropdown-menu.show {
    display: block;
}

.mobile-menu {
    transition: all 0.3s ease-in-out;
}

.mobile-menu.hidden {
    display: none;
}

/* Breadcrumb styles */
.breadcrumb-nav {
    font-size: 0.875rem;
}

.breadcrumb-nav a:hover {
    text-decoration: underline;
}

/* Flash message animations */
.flash-message {
    animation: slideInDown 0.3s ease-in-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced button hover effects */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

/* Improved focus states for accessibility */
.btn:focus,
.form-control:focus,
a:focus {
    outline: 2px solid #e91e63;
    outline-offset: 2px;
}

/* Skip link styles */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.sr-only.focus\:not-sr-only:focus {
    position: static;
    width: auto;
    height: auto;
    padding: 0.5rem 1rem;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
}

/* Enhanced card hover effects */
.card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Improved loading states */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #e91e63;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Responsive design */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .container {
        padding: 0 15px;
    }
    
    /* Mobile-specific breadcrumb adjustments */
    .breadcrumb-nav ol {
        flex-wrap: wrap;
    }
    
    /* Improve mobile touch targets */
    .mobile-menu a,
    .mobile-menu button {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}

@media (max-width: 480px) {
    /* Extra small screens */
    .grid-cols-2,
    .grid-cols-3,
    .grid-cols-4 {
        grid-template-columns: 1fr;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    /* Stack breadcrumb items on very small screens */
    .breadcrumb-nav ol {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .breadcrumb-nav svg {
        display: none;
    }
}/* P
rofile Management Styles */

/* Profile completion progress bar */
.profile-completion-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 0.5rem;
    padding: 1rem;
    color: white;
}

.profile-completion-bar {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 1rem;
    height: 0.5rem;
    overflow: hidden;
}

.profile-completion-fill {
    background: white;
    height: 100%;
    border-radius: 1rem;
    transition: width 0.3s ease-in-out;
}

/* Profile photo upload area */
.profile-photo-upload {
    position: relative;
    display: inline-block;
}

.profile-photo-preview {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #e91e63;
    object-fit: cover;
    transition: all 0.3s ease;
}

.profile-photo-preview:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.3);
}

.profile-photo-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px dashed #d1d5db;
    transition: all 0.3s ease;
}

.profile-photo-placeholder:hover {
    border-color: #e91e63;
    background: linear-gradient(135deg, #fce7f3 0%, #f3e8ff 100%);
}

.profile-photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.profile-photo-upload:hover .profile-photo-overlay {
    opacity: 1;
}

/* Profile form enhancements */
.profile-form-section {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.profile-form-section:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #e91e63;
}

.profile-form-header {
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem 0.75rem 0 0;
    margin: -1px -1px 0 -1px;
}

.profile-field-group {
    position: relative;
}

.profile-field-label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    display: block;
}

.profile-field-required {
    color: #ef4444;
    margin-left: 0.25rem;
}

.profile-field-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.profile-field-input:focus {
    outline: none;
    border-color: #e91e63;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
    transform: translateY(-1px);
}

.profile-field-input.error {
    border-color: #ef4444;
    background: #fef2f2;
}

.profile-field-error {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.profile-field-help {
    color: #6b7280;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Character counter */
.char-counter {
    text-align: right;
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

.char-counter.over-limit {
    color: #ef4444;
    font-weight: 600;
}

/* Profile stats cards */
.profile-stats-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.profile-stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e91e63, #c2185b);
}

.profile-stats-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.profile-stats-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.profile-stats-value {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    line-height: 1;
}

.profile-stats-label {
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 0.25rem;
}

/* Profile view mode styles */
.profile-view-section {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.profile-view-header {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.profile-view-content {
    padding: 1.5rem;
}

.profile-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.profile-info-item {
    padding: 1rem;
    background: #f8fafc;
    border-radius: 0.5rem;
    border-left: 4px solid #e91e63;
}

.profile-info-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.profile-info-value {
    font-size: 1.125rem;
    font-weight: 500;
    color: #111827;
}

.profile-info-empty {
    color: #9ca3af;
    font-style: italic;
}

/* Profile actions */
.profile-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding: 1.5rem;
    background: #f8fafc;
    border-top: 1px solid #e5e7eb;
}

.profile-action-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.profile-action-btn-primary {
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
    color: white;
    border: none;
}

.profile-action-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.4);
}

.profile-action-btn-secondary {
    background: white;
    color: #6b7280;
    border: 2px solid #e5e7eb;
}

.profile-action-btn-secondary:hover {
    border-color: #e91e63;
    color: #e91e63;
}

/* Dashboard enhancements */
.dashboard-welcome {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.dashboard-welcome::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.dashboard-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.dashboard-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 768px) {
    .dashboard-content-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-actions {
        flex-direction: column;
    }
    
    .profile-info-grid {
        grid-template-columns: 1fr;
    }
}

/* Quick action cards */
.quick-action-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.quick-action-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #e91e63;
}

.quick-action-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.quick-action-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.5rem;
}

.quick-action-description {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Activity feed */
.activity-feed {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.activity-item {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: background-color 0.3s ease;
}

.activity-item:hover {
    background: #f8fafc;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.activity-content {
    flex: 1;
}

.activity-text {
    color: #111827;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.activity-time {
    color: #6b7280;
    font-size: 0.75rem;
}

/* Responsive improvements */
@media (max-width: 640px) {
    .profile-form-section {
        margin: 0 -1rem;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    
    .dashboard-welcome {
        margin: 0 -1rem 2rem -1rem;
        border-radius: 0;
    }
    
    .dashboard-stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .profile-stats-card {
        margin: 0 -0.5rem;
    }
}

/* Animation utilities */
.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-up {
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Loading states */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-text {
    height: 1rem;
    border-radius: 0.25rem;
    margin-bottom: 0.5rem;
}

.skeleton-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
}

/* Profile View Enhancements */

/* Photo gallery modal */
.photo-gallery-modal {
    backdrop-filter: blur(8px);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.photo-gallery-image {
    animation: imageZoomIn 0.3s ease-out;
}

@keyframes imageZoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Compatibility score animation */
.compatibility-bar {
    animation: fillBar 1s ease-out 0.5s both;
}

@keyframes fillBar {
    from { width: 0%; }
    to { width: var(--score-width); }
}

/* Profile interaction buttons */
.profile-action-btn {
    position: relative;
    overflow: hidden;
}

.profile-action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.profile-action-btn:hover::before {
    left: 100%;
}

/* Bookmark button animation */
.bookmark-btn {
    transition: all 0.3s ease;
}

.bookmark-btn.bookmarked {
    animation: bookmarkPulse 0.6s ease-out;
}

@keyframes bookmarkPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Profile stats cards */
.profile-stats-card {
    transition: all 0.3s ease;
}

.profile-stats-card:hover {
    transform: translateY(-2px) scale(1.02);
}

/* Activity timeline */
.activity-timeline {
    position: relative;
}

.activity-timeline::before {
    content: '';
    position: absolute;
    left: 1.5rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #e91e63, #f3f4f6);
}

.activity-item {
    position: relative;
    animation: slideInLeft 0.5s ease-out;
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Profile card hover effects */
.profile-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.profile-card:hover .profile-avatar {
    transform: scale(1.05);
}

/* Tab navigation enhancements */
.tab-button {
    position: relative;
    transition: all 0.3s ease;
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #e91e63, #c2185b);
    animation: tabSlideIn 0.3s ease-out;
}

@keyframes tabSlideIn {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

/* Share modal enhancements */
.share-modal {
    backdrop-filter: blur(4px);
}

.share-modal-content {
    animation: modalSlideUp 0.3s ease-out;
}

@keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Notification badges */
.notification-badge {
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Profile completion indicator */
.completion-ring {
    transform: rotate(-90deg);
    transition: stroke-dasharray 0.5s ease-in-out;
}

/* Responsive enhancements for profile view */
@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }
    
    .profile-action-btn {
        width: 100%;
        justify-content: center;
    }
    
    .compatibility-score {
        margin: 1rem -1rem;
        border-radius: 0;
    }
    
    .photo-gallery-modal .photo-gallery-image {
        max-width: 95vw;
        max-height: 95vh;
    }
}

@media (max-width: 480px) {
    .profile-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .activity-timeline::before {
        left: 1rem;
    }
    
    .activity-item {
        padding-left: 2.5rem;
    }
}

/* Print styles for profile sharing */
@media print {
    .profile-action-btn,
    .bookmark-btn,
    .share-btn {
        display: none;
    }
    
    .profile-card {
        box-shadow: none;
        border: 1px solid #e5e7eb;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .profile-card {
        border: 2px solid #000;
    }
    
    .compatibility-bar {
        background: #000;
    }
    
    .profile-action-btn {
        border: 2px solid currentColor;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .profile-card,
    .profile-action-btn,
    .bookmark-btn,
    .activity-item {
        animation: none;
        transition: none;
    }
    
    .profile-card:hover {
        transform: none;
    }
}
/* Partn
er Search Styles */

/* Search filter enhancements */
.search-filters {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.search-filter-group {
    position: relative;
}

.search-filter-label {
    font-weight: 600;
    color: #374151;
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.search-filter-label svg {
    margin-right: 0.5rem;
    color: #e91e63;
}

.search-input {
    transition: all 0.3s ease;
    border: 2px solid #e5e7eb;
}

.search-input:focus {
    border-color: #e91e63;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
    transform: translateY(-1px);
}

.search-input:hover {
    border-color: #d1d5db;
}

/* Live search indicator */
.live-search-indicator {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 0.5rem;
    height: 0.5rem;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Search results enhancements */
.search-results-container {
    min-height: 400px;
}

.user-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.user-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    border-color: #e91e63;
}

.user-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e91e63, #c2185b);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.user-card:hover::before {
    opacity: 1;
}

.user-avatar {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #f3f4f6;
    transition: all 0.3s ease;
}

.user-card:hover .user-avatar {
    border-color: #e91e63;
    transform: scale(1.05);
}

.user-info {
    padding: 1.5rem;
    text-align: center;
}

.user-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.25rem;
}

.user-details {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.user-location {
    color: #9ca3af;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.user-bio {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.user-actions {
    display: flex;
    gap: 0.5rem;
}

.user-action-btn {
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    border: none;
    cursor: pointer;
}

.user-action-btn-primary {
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
    color: white;
}

.user-action-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.4);
}

.user-action-btn-secondary {
    background: #f3f4f6;
    color: #6b7280;
    border: 1px solid #e5e7eb;
}

.user-action-btn-secondary:hover {
    background: #e5e7eb;
    color: #374151;
}

/* Search pagination */
.search-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.pagination-btn {
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.pagination-btn:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

.pagination-btn.active {
    background: #e91e63;
    color: white;
    border-color: #e91e63;
}

.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Search modals */
.search-modal {
    backdrop-filter: blur(4px);
}

.search-modal-content {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Saved searches list */
.saved-search-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1rem;
    transition: all 0.3s ease;
}

.saved-search-item:hover {
    background: #f8fafc;
    border-color: #e91e63;
    transform: translateX(4px);
}

.saved-search-name {
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.25rem;
}

.saved-search-filters {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.saved-search-date {
    color: #9ca3af;
    font-size: 0.75rem;
}

.saved-search-actions {
    display: flex;
    gap: 0.5rem;
}

.saved-search-btn {
    padding: 0.25rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.saved-search-btn-apply {
    background: #e91e63;
    color: white;
}

.saved-search-btn-apply:hover {
    background: #c2185b;
}

.saved-search-btn-delete {
    background: #ef4444;
    color: white;
}

.saved-search-btn-delete:hover {
    background: #dc2626;
}

/* Loading states */
.search-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem;
}

.search-spinner {
    width: 3rem;
    height: 3rem;
    border: 4px solid #f3f4f6;
    border-top: 4px solid #e91e63;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Empty states */
.search-empty {
    text-align: center;
    padding: 3rem;
    color: #6b7280;
}

.search-empty-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    color: #d1d5db;
}

.search-empty-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.5rem;
}

.search-empty-description {
    color: #6b7280;
    margin-bottom: 1rem;
}

.search-empty-action {
    background: #e91e63;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
}

.search-empty-action:hover {
    background: #c2185b;
}

/* Filter badges */
.filter-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.5rem;
    background: #e91e63;
    color: white;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    margin: 0.125rem;
}

.filter-badge-remove {
    margin-left: 0.25rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.filter-badge-remove:hover {
    opacity: 1;
}

/* Search statistics */
.search-stats {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.search-stats-item {
    text-align: center;
}

.search-stats-value {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
}

.search-stats-label {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Responsive design for search */
@media (max-width: 768px) {
    .user-card {
        margin-bottom: 1rem;
    }
    
    .user-avatar {
        width: 5rem;
        height: 5rem;
    }
    
    .user-actions {
        flex-direction: column;
    }
    
    .search-pagination {
        flex-wrap: wrap;
        gap: 0.25rem;
    }
    
    .pagination-btn {
        padding: 0.375rem 0.5rem;
        font-size: 0.75rem;
    }
    
    .search-modal-content {
        margin: 1rem;
        width: calc(100% - 2rem);
    }
    
    .saved-search-actions {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .saved-search-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .search-filters .grid {
        grid-template-columns: 1fr;
    }
    
    .user-info {
        padding: 1rem;
    }
    
    .user-name {
        font-size: 1rem;
    }
    
    .user-details,
    .user-location,
    .user-bio {
        font-size: 0.8125rem;
    }
    
    .search-empty {
        padding: 2rem 1rem;
    }
    
    .search-empty-icon {
        width: 3rem;
        height: 3rem;
    }
}

/* Advanced search features */
.search-advanced-toggle {
    color: #e91e63;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s ease;
}

.search-advanced-toggle:hover {
    color: #c2185b;
}

.search-advanced-panel {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-top: 1rem;
    display: none;
}

.search-advanced-panel.show {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Search suggestions */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-top: none;
    border-radius: 0 0 0.375rem 0.375rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 10;
    max-height: 200px;
    overflow-y: auto;
}

.search-suggestion {
    padding: 0.75rem;
    cursor: pointer;
    transition: background 0.3s ease;
    border-bottom: 1px solid #f3f4f6;
}

.search-suggestion:hover {
    background: #f8fafc;
}

.search-suggestion:last-child {
    border-bottom: none;
}

/* Connection request states */
.request-sent {
    background: #10b981 !important;
    cursor: not-allowed !important;
}

.request-sent:hover {
    background: #10b981 !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Search result animations */
.search-result-enter {
    animation: fadeInUp 0.5s ease-out;
}

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

/* Search filter chips */
.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    background: #e91e63;
    color: white;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.filter-chip-remove {
    margin-left: 0.5rem;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.filter-chip-remove:hover {
    opacity: 1;
}

/* Search performance indicators */
.search-performance {
    font-size: 0.75rem;
    color: #9ca3af;
    text-align: center;
    margin-top: 0.5rem;
}

.search-performance-fast {
    color: #10b981;
}

.search-performance-slow {
    color: #f59e0b;
}
/*
 Enhanced User Dashboard Integration */
/* Additional styles to complement the new dashboard design */

/* Smooth transitions for all interactive elements */
* {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced card hover effects */
.enhanced-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.enhanced-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3);
    background-size: 300% 100%;
    animation: gradientShift 3s ease-in-out infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.enhanced-card:hover::before {
    opacity: 1;
}

.enhanced-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Modern button enhancements */
.btn-enhanced {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    font-weight: 600;
    padding: 1rem 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-enhanced:hover::before {
    left: 100%;
}

.btn-enhanced:hover {
    transform: translateY(-2px) scale(1.02);
}

/* Gradient backgrounds */
.gradient-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gradient-secondary {
    background: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%);
}

.gradient-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.gradient-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

/* Text gradients */
.text-gradient-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-secondary {
    background: linear-gradient(135deg, #ff6b6b, #feca57);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Enhanced form inputs */
.form-enhanced {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    transition: all 0.3s ease;
}

.form-enhanced:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.95);
}

/* Loading animations */
.pulse-animation {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: .5;
    }
}

.bounce-animation {
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(-25%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }
    50% {
        transform: none;
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

/* Notification styles */
.notification-modern {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    max-width: 350px;
}

.notification-modern.show {
    transform: translateX(0);
}

.notification-success {
    border-left: 4px solid #10b981;
}

.notification-error {
    border-left: 4px solid #ef4444;
}

.notification-info {
    border-left: 4px solid #3b82f6;
}

.notification-warning {
    border-left: 4px solid #f59e0b;
}

/* Avatar enhancements */
.avatar-enhanced {
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid transparent;
    background: linear-gradient(45deg, #ff6b6b, #feca57) padding-box,
                linear-gradient(45deg, #ff6b6b, #feca57) border-box;
    transition: all 0.3s ease;
}

.avatar-enhanced:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

.avatar-enhanced::after {
    content: '✨';
    position: absolute;
    top: -5px;
    right: -5px;
    background: #feca57;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* Progress bars */
.progress-enhanced {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    height: 12px;
    overflow: hidden;
    position: relative;
}

.progress-bar-enhanced {
    height: 100%;
    background: linear-gradient(90deg, #feca57, #ff6b6b);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-bar-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Responsive utilities */
@media (max-width: 768px) {
    .enhanced-card {
        margin: 0 -1rem 1rem;
        border-radius: 16px;
    }
    
    .btn-enhanced {
        width: 100%;
        text-align: center;
    }
    
    .notification-modern {
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

/* Dark mode enhancements */
@media (prefers-color-scheme: dark) {
    .enhanced-card {
        background: rgba(45, 55, 72, 0.95);
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .form-enhanced {
        background: rgba(45, 55, 72, 0.8);
        border-color: #4a5568;
        color: #e2e8f0;
    }
    
    .form-enhanced:focus {
        background: rgba(45, 55, 72, 0.95);
        border-color: #667eea;
    }
    
    .notification-modern {
        background: rgba(45, 55, 72, 0.95);
        color: #e2e8f0;
    }
}

/* Print styles */
@media print {
    .enhanced-card {
        box-shadow: none;
        border: 1px solid #e5e7eb;
    }
    
    .btn-enhanced {
        background: #f3f4f6 !important;
        color: #374151 !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .enhanced-card {
        border: 2px solid #000;
    }
    
    .btn-enhanced:hover {
        background: #000;
        color: #fff;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .enhanced-card,
    .btn-enhanced,
    .avatar-enhanced {
        animation: none;
        transition: none;
    }
    
    .enhanced-card:hover,
    .btn-enhanced:hover,
    .avatar-enhanced:hover {
        transform: none;
    }
}