* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background: #f5f5f5;
            color: #333;
        }

        .hidden {
            display: none !important;
        }

        /* Login Page */
        .login-page {
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 20px;
            background: linear-gradient(135deg, #FF6B35 0%, #1E40AF 100%);
        }

        .login-container {
            background: white;
            border-radius: 20px;
            padding: 40px 30px;
            width: 100%;
            max-width: 400px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        }

        .login-logo {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            margin-bottom: 20px;
        }

        .login-logo-icon {
            width: 50px;
            height: 50px;
            background: #FF6B35;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
        }

        .login-logo-text {
            font-size: 28px;
            font-weight: bold;
        }

        .login-logo-out {
            color: #FF6B35;
        }

        .login-logo-broker {
            color: #1E40AF;
        }

        .login-tagline {
            text-align: center;
            color: #666;
            margin-bottom: 30px;
            font-size: 16px;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: #333;
        }

        .form-input {
            width: 100%;
            padding: 15px;
            border: 2px solid #e0e0e0;
            border-radius: 10px;
            font-size: 16px;
            transition: border-color 0.3s;
        }

        .form-input:focus {
            outline: none;
            border-color: #FF6B35;
        }

        .btn-primary {
            width: 100%;
            padding: 15px;
            background: #FF6B35;
            color: white;
            border: none;
            border-radius: 10px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.3s;
        }

        .btn-primary:hover {
            background: #e55a2b;
        }

        .signup-link {
            text-align: center;
            margin-top: 20px;
            color: #666;
        }

        .signup-link a {
            color: #FF6B35;
            text-decoration: none;
        }

        /* Main App */
        .main-app {
            min-height: 100vh;
            background: #f5f5f5;
        }

        .app-header {
            background: white;
            padding: 15px 20px;
            border-bottom: 1px solid #e0e0e0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .header-logo {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .header-logo-icon {
            width: 32px;
            height: 32px;
            background: #FF6B35;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            color: white;
        }

        .header-logo-text {
            font-size: 20px;
            font-weight: bold;
        }

        .header-icons {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .header-icon {
            position: relative;
            cursor: pointer;
            font-size: 24px;
            color: #666;
        }

        .icon-badge {
            position: absolute;
            top: -5px;
            right: -5px;
            background: #EF4444;
            color: white;
            border-radius: 50%;
            width: 18px;
            height: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 10px;
            font-weight: bold;
        }

        /* Feed */
        .feed {
            padding: 20px;
            max-width: 600px;
            margin: 0 auto;
        }

        .post-card {
            background: white;
            border-radius: 15px;
            margin-bottom: 20px;
            overflow: hidden;
            box-shadow: 0 2px 10px rgba(0,0,0,0.08);
            position: relative;
        }

        .post-badge {
            position: absolute;
            top: 15px;
            right: 15px;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: bold;
            z-index: 10;
        }

        .badge-match {
            background: #EF4444;
            color: white;
        }

        .badge-property {
            background: #10B981;
            color: white;
        }

        .badge-client {
            background: #F59E0B;
            color: white;
        }

        .post-header {
            padding: 15px 20px;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            object-fit: cover;
        }

        .user-info h3 {
            font-size: 16px;
            margin-bottom: 4px;
        }

        .user-creci {
            color: #3B82F6;
            font-size: 12px;
            font-weight: 600;
        }

        .post-image {
            width: 100%;
            height: 250px;
            object-fit: cover;
        }

        .match-alert {
            background: #FEF2F2;
            border: 1px solid #EF4444;
            margin: 15px 20px;
            padding: 15px;
            border-radius: 10px;
        }

        .match-header {
            font-weight: 600;
            color: #DC2626;
            margin-bottom: 8px;
        }

        .match-text {
            color: #7F1D1D;
            font-size: 14px;
        }

        .post-content {
            padding: 20px;
        }

        .property-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
        }

        .property-type {
            font-size: 18px;
            font-weight: 600;
        }

        .property-price {
            font-size: 18px;
            font-weight: 600;
            color: #10B981;
        }

        .property-location {
            color: #666;
            margin-bottom: 15px;
        }

        .property-details {
            display: flex;
            gap: 15px;
            margin-bottom: 20px;
        }

        .detail-item {
            color: #666;
            font-size: 14px;
        }

        .post-actions {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .action-buttons {
            display: flex;
            gap: 15px;
        }

        .action-btn {
            background: none;
            border: none;
            font-size: 16px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .connect-btn {
            background: #10B981;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 20px;
            font-weight: 600;
            cursor: pointer;
        }

        .connect-btn.orange {
            background: #F59E0B;
        }

        /* Client Post */
        .client-post {
            background: #FEF3C7;
            border: 1px solid #F59E0B;
            margin: 15px 20px;
            padding: 15px;
            border-radius: 10px;
        }

        .client-header {
            font-weight: 600;
            color: #92400E;
            margin-bottom: 12px;
        }

        .client-detail-row {
            margin-bottom: 8px;
            color: #451A03;
            font-size: 14px;
        }

        .client-label {
            font-weight: 600;
        }

        /* Profile */
        .profile-page {
            padding: 20px;
            max-width: 600px;
            margin: 0 auto;
        }

        .profile-header {
            background: white;
            border-radius: 15px;
            padding: 30px 20px;
            text-align: center;
            margin-bottom: 20px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.08);
        }

        .profile-avatar {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            margin: 0 auto 15px;
            object-fit: cover;
        }

        .profile-name {
            font-size: 24px;
            font-weight: bold;
            margin-bottom: 5px;
        }

        .profile-creci {
            color: #3B82F6;
            font-weight: 600;
            margin-bottom: 5px;
        }

        .profile-email {
            color: #666;
            margin-bottom: 20px;
        }

        .profile-stats {
            display: flex;
            justify-content: space-around;
        }

        .stat {
            text-align: center;
        }

        .stat-number {
            font-size: 24px;
            font-weight: bold;
            color: #FF6B35;
        }

        .stat-label {
            color: #666;
            font-size: 14px;
        }

        .profile-tabs {
            background: white;
            border-radius: 15px;
            margin-bottom: 20px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.08);
        }

        .tab-buttons {
            display: flex;
            border-bottom: 1px solid #e0e0e0;
        }

        .profile-tab {
            flex: 1;
            padding: 15px;
            border: none;
            background: none;
            font-weight: 600;
            color: #666;
            border-bottom: 2px solid transparent;
            cursor: pointer;
        }

        .profile-tab.active {
            color: #FF6B35;
            border-bottom-color: #FF6B35;
        }
