/**
 * TrustMatrimony Frontend Styles
 */

:root {
    --tm-primary: #e91e63;
    --tm-secondary: #9c27b0;
    --tm-success: #4caf50;
    --tm-warning: #ff9800;
    --tm-danger: #f44336;
    --tm-light: #f5f5f5;
    --tm-dark: #333;
}

/* Match Cards */
.tm-match-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.2s;
}

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

.tm-match-photo {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.tm-trust-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    background: var(--tm-success);
    color: white;
}

.tm-trust-badge.verified {
    background: var(--tm-success);
}

.tm-trust-badge.unverified {
    background: var(--tm-warning);
}

/* Buttons */
.tm-btn {
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.tm-btn-primary {
    background: var(--tm-primary);
    color: white;
}

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

.tm-btn-secondary {
    background: var(--tm-secondary);
    color: white;
}

/* Profile Grid */
.tm-profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

/* Filters */
.tm-filters {
    background: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.tm-filter-group {
    margin-bottom: 15px;
}

.tm-filter-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--tm-dark);
}

.tm-filter-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

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

.tm-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--tm-primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

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

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