/* Discover Page Styles - Premium v2.0 */

.discover-layout {
    display: flex;
    max-width: 1600px;
    margin: 0 auto;
}

.discover-content {
    flex: 1;
    min-width: 0;
    background: linear-gradient(135deg, #fce4ec 0%, #e3f2fd 50%, #ede7f6 100%);
    min-height: calc(100vh - 64px);
}

/* Profile Grid */
.profile-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    padding: 24px;
}

@media (max-width: 1400px) {
    .profile-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1100px) {
    .profile-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .profile-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 12px; }
}

@media (max-width: 480px) {
    .profile-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 8px; }
}

/* Profile Card */
.profile-card {
    background: #ffffff;
    border: 2px solid rgba(233, 30, 99, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.1);
    display: flex;
    flex-direction: column;
}

.profile-card:hover {
    border-color: #ff6090;
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(233, 30, 99, 0.2);
}

.profile-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    cursor: pointer;
}

.profile-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.profile-card:hover .profile-card-image img {
    transform: scale(1.12);
}

/* Card Overlay */
.profile-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 50px 14px 14px;
    background: linear-gradient(transparent, rgba(26, 26, 46, 0.9));
}

.profile-card-name {
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.profile-card-name .verified {
    color: #64b5f6;
    font-size: 0.9rem;
}

.profile-card-location {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Badges */
.profile-card-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 5;
}

.badge-online {
    width: 12px;
    height: 12px;
    background: #4caf50;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.5);
    animation: pulse-online 2s infinite;
}

@keyframes pulse-online {
    0% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(76, 175, 80, 0); }
    100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
}

.badge-new {
    background: linear-gradient(135deg, #e91e63 0%, #ff4081 100%);
    color: white;
    font-size: 0.65rem;
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Action Buttons - Below Image */
.profile-card-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 12px;
    background: #ffffff;
}

.action-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.action-btn.like {
    background: linear-gradient(135deg, #e91e63 0%, #ff4081 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.4);
}

.action-btn.message {
    background: linear-gradient(135deg, #9c27b0 0%, #7b1fa2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(156, 39, 176, 0.4);
}

.action-btn.favorite {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
}

.action-btn:hover {
    transform: scale(1.15);
}

.action-form {
    display: inline-block;
}

/* No Photo Placeholder */
.no-photo {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #fce4ec, #e3f2fd);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9e9e9e;
}

/* Range Separator */
.range-separator {
    color: #5a5a7a;
}

.action-form {
    display: inline;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    background: #ffffff;
    border: 2px dashed rgba(233, 30, 99, 0.3);
    border-radius: 16px;
    margin: 24px;
}

.empty-state i {
    font-size: 4rem;
    background: linear-gradient(135deg, #e91e63 0%, #ff4081 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 24px;
}

.empty-state h4 {
    color: #1a1a2e;
    margin-bottom: 8px;
}

.empty-state p {
    color: #5a5a7a;
    margin-bottom: 24px;
}

/* View Toggle Buttons */
.view-toggle {
    display: flex;
    gap: 4px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    padding: 4px;
    box-shadow: 0 2px 8px rgba(233, 30, 99, 0.1);
}

.view-toggle button {
    background: transparent;
    border: none;
    color: #5a5a7a;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.view-toggle button:hover,
.view-toggle button.active {
    background: linear-gradient(135deg, #e91e63, #9c27b0);
    color: white;
}

/* Filter Navbar */
.filter-navbar {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 2px solid rgba(233, 30, 99, 0.1);
    padding: 16px 0;
    position: sticky;
    top: 60px;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.filter-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.filter-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.filter-label {
    color: #5a5a7a;
    font-size: 13px;
}

.filter-select {
    background: #ffffff;
    border: 2px solid rgba(233, 30, 99, 0.2);
    border-radius: 8px;
    padding: 8px 16px;
    color: #1a1a2e;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-select:hover,
.filter-select:focus {
    border-color: #e91e63;
    outline: none;
}

.result-count {
    color: #5a5a7a;
    font-size: 13px;
}

.result-count strong {
    color: #e91e63;
}

/* Sidebar */
.sidebar {
    background: rgba(255, 255, 255, 0.95);
    border-right: 2px solid rgba(233, 30, 99, 0.1);
    padding: 24px;
    width: 280px;
    min-height: calc(100vh - 60px);
    backdrop-filter: blur(10px);
}

.sidebar-section {
    margin-bottom: 28px;
}

.sidebar-title {
    font-size: 11px;
    font-weight: 600;
    color: #e91e63;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.sidebar-filter {
    margin-bottom: 16px;
}

.sidebar-filter label {
    display: block;
    font-size: 13px;
    color: #5a5a7a;
    margin-bottom: 8px;
}

.sidebar-filter select,
.sidebar-filter input {
    width: 100%;
    background: #ffffff;
    border: 2px solid rgba(233, 30, 99, 0.15);
    border-radius: 8px;
    padding: 10px 14px;
    color: #1a1a2e;
    font-size: 13px;
    transition: border-color 0.2s ease;
}

.sidebar-filter select:focus,
.sidebar-filter input:focus {
    outline: none;
    border-color: #e91e63;
}

/* Checkbox Style */
.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    cursor: pointer;
    color: #5a5a7a;
    font-size: 13px;
    transition: color 0.2s ease;
}

.checkbox-item:hover {
    color: #1a1a2e;
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #e91e63;
}

/* Range Container */
.range-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.range-input {
    width: 60px !important;
    text-align: center;
}

/* Responsive */
@media (max-width: 992px) {
    .sidebar {
        display: none;
    }
    
    .filter-navbar {
        padding: 12px 0;
    }
    
    .filter-left {
        width: 100%;
    }
}