* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

.nav-content {
    display: flex;
    justify-content: space-between; 
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #e91e63;
}

.nav-links { 
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.nav-links a:hover {
    color: #e91e63;
}

/* Auth Forms */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.auth-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
}

.auth-form h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #333;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: #e91e63;
    color: white;
    width: 100%;
}

.btn-primary:hover {
    background: #d81b60;
}

.btn-like {
    background: #4CAF50;
    color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
}

.btn-dislike {
    background: #f44336;
    color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
}

.btn-super-like {
    background: #2196F3;
    color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
}

/* Profile Cards */
.matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.profile-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-5px);
}

.profile-image {
    height: 250px;
    overflow: hidden;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info {
    padding: 1.5rem;
}

.profile-info h3 {
    margin-bottom: 0.5rem;
    color: #333;
}

.location {
    color: #666;
    margin-bottom: 0.5rem;
}

.bio {
    color: #777;
    margin-bottom: 1rem;
}

.action-buttons {
    display: flex;
    justify-content: space-around;
    gap: 0.5rem;
}

/* Alerts */
.alert {
    padding: 0.75rem;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.alert-error {
    background: #fee;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.alert-success {
    background: #e8f5e8;
    border: 1px solid #c3e6cb;
    color: #155724;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .matches-grid {
        grid-template-columns: 1fr;
    }
    
    .auth-form {
        margin: 1rem;
    }
}

/* Chat Styles */
.chat-container {
    display: flex;
    height: calc(100vh - 80px);
}

.chat-sidebar {
    width: 300px;
    background: white;
    border-right: 1px solid #eee;
    overflow-y: auto;
}

.chat-main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.chat-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
}

.message {
    margin-bottom: 1rem;
    padding: 0.75rem;
    border-radius: 10px;
    max-width: 70%;
}

.message.sent {
    background: #e91e63;
    color: white;
    margin-left: auto;
}

.message.received {
    background: #f1f1f1;
    color: #333;
}

.chat-input {
    padding: 1rem;
    border-top: 1px solid #eee;
    background: white;
}

.chat-input form {
    display: flex;
    gap: 0.5rem;
}

.chat-input input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 25px;
}

/* Face Verification Styles */
.face-verification-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
}

.verification-steps {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}

.step {
    flex: 1;
    text-align: center;
    padding: 15px;
    background: #fff;
    margin: 0 5px;
    border-radius: 6px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.step.active {
    border-color: #007bff;
    background: #e7f3ff;
}

.step h4 {
    margin: 0 0 5px 0;
    color: #6c757d;
}

.step.active h4 {
    color: #007bff;
}

.camera-container {
    text-align: center;
    margin: 20px 0;
}

.camera-container video, .camera-container canvas {
    border: 2px solid #ddd;
    border-radius: 8px;
}

.verification-controls {
    text-align: center;
    margin: 20px 0;
}

.verification-controls .btn {
    margin: 0 5px;
}

#verification-result {
    margin-top: 15px;
}
/* Auth Styles */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
}

.auth-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    margin: 20px 0;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h2 {
    color: #333;
    margin-bottom: 10px;
    font-size: 28px;
    font-weight: 600;
}

.auth-header p {
    color: #666;
    font-size: 16px;
}

/* Form Styles */
.register-form {
    margin-bottom: 25px;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group.half {
    flex: 1;
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    font-size: 14px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group input::placeholder {
    color: #999;
}

/* Button Styles */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-full {
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-google {
    background: white;
    color: #333;
    border: 2px solid #e1e5e9;
    width: 100%;
    margin-bottom: 10px;
}

.btn-google:hover {
    border-color: #db4437;
    background: #f8f9fa;
}

.btn-facebook {
    background: #1877f2;
    color: white;
    width: 100%;
}

.btn-facebook:hover {
    background: #166fe5;
    transform: translateY(-1px);
}

.social-icon {
    font-weight: bold;
    font-size: 18px;
}

/* Alert Styles */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
}

.alert-error {
    background: #fee;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.alert-success {
    background: #e8f5e8;
    border: 1px solid #c3e6cb;
    color: #155724;
}

/* Divider */
.auth-divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e1e5e9;
}

.auth-divider span {
    background: white;
    padding: 0 15px;
    color: #666;
    font-size: 14px;
}

/* Auth Footer */
.auth-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e1e5e9;
}

.auth-footer p {
    color: #666;
    margin: 0;
}

.auth-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.auth-link:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .auth-form {
        padding: 30px 20px;
        margin: 10px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .form-group.half {
        margin-bottom: 20px;
    }
}

/* Header & Footer Styles */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #667eea;
}

.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: auto;
}

/* Package Styles */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.package-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.package-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.package-card.selected {
    border-color: var(--primary);
    background: linear-gradient(135deg, #f8f9ff, #f0f4ff);
}

.package-header {
    margin-bottom: 25px;
}

.package-header h4 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.package-price {
    margin-bottom: 10px;
}

.package-price .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.package-price .period {
    font-size: 1rem;
    color: var(--gray);
}

.discount-badge {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    margin-top: 10px;
}

.package-features {
    text-align: left;
    margin-bottom: 25px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
}

.feature-item i {
    color: var(--success);
    font-size: 12px;
}

.package-footer {
    position: relative;
}

.recommended-badge {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* Payment Methods */
.payment-options {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.payment-option {
    flex: 1;
    min-width: 120px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-option:hover {
    border-color: var(--primary);
}

.payment-option input[type="radio"]:checked + i,
.payment-option input[type="radio"]:checked ~ * {
    color: var(--primary);
}

.payment-option input[type="radio"] {
    display: none;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Success Animation */
@keyframes successCheck {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.success-check {
    animation: successCheck 0.5s ease-in-out;
}


.alert {
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f5f5f5;
}

.auth-form {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background-color: #007bff;
    color: white;
    width: 100%;
}

.btn-primary:hover {
    background-color: #0056b3;
}



.verification-steps {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}

.step {
    text-align: center;
    flex: 1;
    position: relative;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 60%;
    width: 80%;
    height: 2px;
    background: #ddd;
    z-index: 1;
}

.step span {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ddd;
    color: #666;
    line-height: 40px;
    position: relative;
    z-index: 2;
}

.step.completed span {
    background: #4CAF50;
    color: white;
}

.step.active span {
    background: #2196F3;
    color: white;
}

.step p {
    margin-top: 8px;
    font-size: 12px;
    color: #666;
}

.step.active p {
    color: #2196F3;
    font-weight: bold;
}

.face-verification-guide {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
}

.face-verification-guide h3 {
    margin-top: 0;
    color: #333;
}

.face-verification-guide ul {
    margin-bottom: 0;
}

.preview-container {
    text-align: center;
    margin: 15px 0;
}

#imagePreview {
    max-width: 200px;
    max-height: 200px;
    border-radius: 8px;
    border: 2px solid #ddd;
}
















