  /* :root {
            --primary: #6c5ce7;
            --primary-light: #a29bfe;
            --text: #2d3436;
            --light-text: #636e72;
            --border: #dfe6e9;
            --bg: #f5f6fa;
        } */
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Inter', sans-serif;
        }
        
        body {
            /* background-color: var(--background-color); */
            /* color: var(--text); */
            min-height: 100vh;
           
            /* padding: 20px; */
        }
                .auth-center {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .auth-container {
            background: white;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
            width: 100%;
            max-width: 600px;
            overflow: hidden;
        }
        
        .auth-header {
            padding: 30px;
            text-align: center;
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            color: white;
        }
        
        .auth-header h1 {
            font-size: 24px;
            font-weight: 600;
            margin-bottom: 8px;
        }
        
        .auth-header p {
            opacity: 0.9;
            font-size: 14px;
        }
        
        .auth-body {
            padding: 30px;
        }
        
        .tabs {
            display: flex;
            margin-bottom: 25px;
            border-bottom: 1px solid var(--border);
        }
        
        .tab {
            flex: 1;
            text-align: center;
            padding: 12px;
            cursor: pointer;
            font-weight: 500;
            color: var(--light-text);
            transition: all 0.3s;
        }
        
        .tab.active {
            color: var(--primary);
            border-bottom: 2px solid var(--primary);
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-size: 14px;
            font-weight: 500;
        }
        
        .input-group {
            position: relative;
        }
        
        .input-group input {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid var(--border);
            border-radius: 8px;
            font-size: 15px;
            transition: border 0.3s;
        }
        
        .input-group input:focus {
            outline: none;
            border-color: var(--primary);
        }
        
        .input-group i {
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--light-text);
        }
        
        .btn {
            width: 100%;
            padding: 14px;
            border: none;
            border-radius: 8px;
            font-size: 15px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .btn-primary {
            background: var(--primary);
            color: white;
        }
        
        .btn-primary:hover {
            background: #5a4bd1;
        }
        
        .divider {
            display: flex;
            align-items: center;
            margin: 25px 0;
            color: var(--light-text);
            font-size: 13px;
        }
        
        .divider::before, .divider::after {
            content: "";
            flex: 1;
            border-bottom: 1px solid var(--border);
        }
        
        .divider::before {
            margin-right: 10px;
        }
        
        .divider::after {
            margin-left: 10px;
        }
        
        .social-login {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 12px;
            margin-bottom: 20px;
        }
        
        .social-btn {
            padding: 12px;
            border: 1px solid var(--border);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s;
            width: 200px;
        }

        .social-btn a{
            text-decoration: none;
        }
        
        .social-btn:hover {
            border-color: var(--primary-light);
        }
        
        .social-btn i {
            font-size: 18px;
            text-decoration: none;
        }
        
        .google { color: #DB4437; width: 200px; }
        .facebook { color: #4267B2; }
        .apple { color: #000; }
        
        .footer-text {
            text-align: center;
            font-size: 14px;
            color: var(--light-text);
            margin-top: 20px;
        }
        
        .footer-text a {
            color: var(--primary);
            text-decoration: none;
            font-weight: 500;
        }
        /* erro handling  */

        .error {
                color: #e74c3c;
                background: #fff0f0;
                border: 1px solid #e74c3c;
                padding: 8px 12px;
                border-radius: 4px;
                margin-bottom: 15px;
                font-size: 15px;
            }


        /* Your existing CSS styles */
        .error {
            color: #d63031;
            margin-bottom: 15px;
            padding: 10px;
            background: #ffebee;
            border-radius: 4px;
        }
        .logins {
            width: 100%;
            padding: 10px;
            margin: 8px 0;
            border: 1px solid #ddd;
            border-radius: 4px;
        }
        input[type="submit"] {
            background-color: #6c5ce7;
            color: white;
            cursor: pointer;
        }
        input[type="submit"]:hover {
            background-color: #5a4bd1;
        }
    
        
        /* Toggle between login/signup */
        .login-form, .signup-form {
            display: none;
        }
        
        .login-form.active, .signup-form.active {
            display: block;
        }
        
        @media (max-width: 768px) {
            .auth-container {
    
            max-width: 350px;
        
        }
            .auth-header {
                padding: 25px 20px;
            }
            
            .auth-body {
                padding: 25px 20px;
            }
        }

/* for users profile  */

/* :root {
            --primary: #6c5ce7;
            --primary-light: #a29bfe;
            --text: #2d3436;
            --light-text: #636e72;
            --border: #dfe6e9;
            --bg: #f5f6fa;
            --warning: #fdcb6e;
            --danger: #d63031;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', sans-serif;
        } */
        
        body {
            background-color: var(--bg);
            color: var(--text);
            line-height: 1.6;
        }
        
        .profile-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
            display: grid;
            grid-template-columns: 250px 1fr;
            gap: 30px;
        }
        
        /* Profile Sidebar */
        .profile-sidebar {
            background: white;
            border-radius: 8px;
            padding: 20px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            height: fit-content;
        }
        
        .profile-avatar {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            object-fit: cover;
            border: 3px solid var(--primary-light);
            margin: 0 auto 15px;
            display: block;
        }
        
        .upload-photo {
            text-align: center;
            margin-bottom: 20px;
            color: var(--primary);
            font-weight: 500;
            cursor: pointer;
        }
        
        .profile-name {
            text-align: center;
            font-size: 1.2rem;
            margin-bottom: 5px;
        }
        
        .join-date {
            text-align: center;
            color: var(--light-text);
            font-size: 0.8rem;
            margin-bottom: 15px;
        }
        
        .verification-badge {
            background: var(--warning);
            color: #000;
            padding: 5px 10px;
            border-radius: 4px;
            font-size: 0.8rem;
            margin: 5px 0;
            display: inline-block;
        }
        
        .profile-menu {
            list-style: none;
            margin: 25px 0;
        }
        
        .profile-menu li {
            margin-bottom: 10px;
        }
        
        .profile-menu a {
            display: block;
            padding: 10px;
            color: var(--text);
            text-decoration: none;
            border-radius: 5px;
            transition: all 0.2s;
        }
        
        .profile-menu a:hover, .profile-menu a.active {
            background: var(--primary-light);
            color: white;
        }
        
        .profile-menu i {
            margin-right: 8px;
            width: 20px;
            text-align: center;
        }
        
        .profile-footer {
            margin-top: 30px;
            font-size: 0.9rem;
        }
        
        .profile-footer a {
            display: block;
            padding: 8px 0;
            color: var(--text);
            text-decoration: none;
        }
        
        .logout-btn {
            color: var(--danger);
            font-weight: 500;
        }
        
        /* Main Content */
        .profile-content {
            background: white;
            border-radius: 8px;
            padding: 25px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }
        
        .content-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
            padding-bottom: 15px;
            border-bottom: 1px solid var(--border);
        }
        
        .content-title {
            font-size: 1.3rem;
            font-weight: 600;
        }
        
        .add-listing-btn {
            background: var(--primary);
            color: white;
            border: none;
            padding: 8px 15px;
            border-radius: 6px;
            cursor: pointer;
            font-size: 0.9rem;
            transition: background 0.2s;
        }
        
        .add-listing-btn:hover {
            background: #5a4bd1;
        }
        
        /* Listings Grid */
        .listings-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 20px;
        }
        
        .listing-card {
            border: 1px solid var(--border);
            border-radius: 8px;
            overflow: hidden;
            transition: transform 0.2s;
        }
        
        .listing-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        .listing-image {
            width: 100%;
            height: 180px;
            object-fit: cover;
        }
        
        .listing-details {
            padding: 15px;
        }
        
        .listing-title {
            font-weight: 600;
            margin-bottom: 5px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        
        .listing-price {
            color: var(--primary);
            font-weight: 600;
            margin-bottom: 10px;
        }
        
        .listing-meta {
            display: flex;
            justify-content: space-between;
            color: var(--light-text);
            font-size: 0.8rem;
        }
        
        .listing-actions {
            display: flex;
            justify-content: space-between;
            margin-top: 10px;
            padding-top: 10px;
            border-top: 1px solid var(--border);
        }
        
        .action-btn {
            background: none;
            border: none;
            color: var(--light-text);
            cursor: pointer;
            font-size: 0.9rem;
        }
        
        .action-btn:hover {
            color: var(--primary);
        }
        
        /* Responsive */
        @media (max-width: 768px) {
            .profile-container {
                grid-template-columns: 1fr;
                padding: 15px;
            }
            
            .profile-sidebar {
                margin-bottom: 20px;
            }
            
            .listings-grid {
                grid-template-columns: 1fr 1fr;
            }
        }
        
        @media (max-width: 480px) {
            .listings-grid {
                grid-template-columns: 1fr;
            }
        }