/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Divider pseudo-element */
.divider::before {
    display: block;
    content: '';
    height: 1px;
    background: #e0e0e0;
    width: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f8f9fa;
    overflow-x: hidden;
}

/* Screen Management */
.screen {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow-y: auto;
    background: white;
}

.screen.active {
    display: flex;
}

/* Status Bar */
.status-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 20px;
    background: transparent;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    z-index: 10;
}

.status-icons {
    display: flex;
    gap: 5px;
}

/* Common Components */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin: 8px 0;
}

.btn-primary {
    background: #667eea;
    color: white;
}

.btn-secondary {
    background: transparent;
    color: #667eea;
    border: 1px solid #667eea;
}

.btn-outline {
    background: transparent;
    color: #667eea;
    border: 1px solid #667eea;
}

.btn-upload {
    background: #667eea;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.back-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    padding: 8px;
}

.input-field {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    margin: 8px 0;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: white;
    border-bottom: 1px solid #f0f0f0;
}

.header h2 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

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

.icon {
    font-size: 20px;
    cursor: pointer;
}

/* Updated Splash Screen */
#splash {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    cursor: pointer;
    user-select: none;
}

.splash-content {
    text-align: center;
    width: 100%;
    height: 100%;
    position: relative;
    cursor: pointer;
}

.logo-section {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    cursor: pointer;
}

.logo-section h1 {
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 10px;
    font-family: serif;
}

.logo-icon {
    font-size: 60px;
    margin: 20px 0;
}

.tagline {
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 2px;
    margin-top: 20px;
}

/* Intro Screen Styles */
.intro-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    background: white;
    position: relative;
}

.intro-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
}

.back-button-area {
    position: absolute;
    top: 60px;
    left: 20px;
}

.intro-illustration {
    margin: 40px 0;
    width: 100%;
    display: flex;
    justify-content: center;
}

.house-path-illustration {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.house-icon {
    font-size: 80px;
}

.path-line {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.path-dot {
    width: 8px;
    height: 8px;
    background: #667eea;
    border-radius: 50%;
}

.intro-content h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 15px;
}

.intro-content p {
    color: #666;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 40px;
    max-width: 300px;
}

.intro-navigation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.page-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
}

.dot.active {
    background: #667eea;
}

/* Connect Illustration */
.connect-illustration {
    position: relative;
    width: 200px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.globe {
    font-size: 60px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.avatars {
    position: absolute;
    width: 100%;
    height: 100%;
}

.avatar {
    position: absolute;
    font-size: 30px;
}

.avatar1 {
    top: 20px;
    left: 20px;
}

.avatar2 {
    top: 20px;
    right: 20px;
}

.avatar3 {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.chat-bubble {
    position: absolute;
    top: 10px;
    right: 50px;
    font-size: 20px;
}

/* Build Illustration */
.build-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    margin: 40px 0;
}

.construction-site {
    position: relative;
    display: flex;
    align-items: flex-end;
    gap: 20px;
}

.building {
    font-size: 60px;
    opacity: 0.8;
}

.building1 {
    color: #ff6b9d;
}

.building2 {
    color: #c44569;
}

.crane {
    font-size: 40px;
    color: #f8b500;
    margin-left: 10px;
}

.hard-hat {
    font-size: 30px;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* Home Setup Screen Styles */
.home-setup-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    background: white;
    position: relative;
}

.home-setup-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
}

.home-setup-header h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 10px;
}

.home-setup-header p {
    color: #666;
    font-size: 16px;
    margin-bottom: 40px;
}

.home-setup-illustration {
    margin: 40px 0;
}

.home-icon-large {
    font-size: 80px;
    margin-bottom: 30px;
}

.setup-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.setup-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #666;
}

.setup-dot.active {
    background: #667eea;
    color: white;
}

.setup-line {
    width: 30px;
    height: 2px;
    background: #e9ecef;
}

.setup-info {
    text-align: left;
    width: 100%;
    max-width: 300px;
}

.setup-info h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-icon {
    font-size: 24px;
}

/* Login Container */
.login-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    background: white;
    position: relative;
}

.login-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.welcome-header {
    text-align: center;
    margin-bottom: 40px;
}

.welcome-header h2 {
    font-size: 28px;
    color: #333;
}

.login-options {
    width: 100%;
    max-width: 320px;
}

.btn-google {
    background: white;
    color: #333;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.google-icon {
    font-weight: bold;
    color: #4285f4;
}

.btn-dark {
    background: #333;
    color: white;
    margin-bottom: 20px;
}

.divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
    color: #666;
}

.email-login {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.email-input {
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
}

/* Create Project Styles */
.create-project-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    background: white;
}

.step-indicator {
    color: #667eea;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
}

.main-heading {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.3;
}

.form-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.project-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

.home-name-input {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 18px;
    text-align: center;
    margin-bottom: 15px;
    background: #f8f9fa;
}

.home-name-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.example-text {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-bottom: 40px;
}

.progress-section {
    margin: 40px 0;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: #667eea;
    transition: width 0.3s ease;
}

.form-actions {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.form-actions .btn {
    margin: 0;
}

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
}

.form-input, .form-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    background: white;
    color: #333;
}

.form-input:focus, .form-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Dashboard Styles */
.dashboard-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    background: #f8f9fa;
    overflow-y: auto;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: white;
    border-bottom: 1px solid #e9ecef;
}

.dashboard-header h2 {
    font-size: 24px;
    color: #333;
    margin: 0;
}

.user-name {
    color: #ff6b35;
    font-weight: 600;
}

.search-section {
    padding: 15px 20px;
    background: white;
}

.search-bar {
    position: relative;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 12px 50px 12px 16px;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-size: 16px;
    background: #f8f9fa;
}

.search-icon, .mic-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    cursor: pointer;
}

.search-icon {
    right: 45px;
}

.mic-icon {
    right: 15px;
}

.build-streak-section {
    padding: 20px;
    background: white;
    margin: 10px 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.build-streak-section h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
}

.streak-days {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.day {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 10px;
    border-radius: 8px;
    background: #f8f9fa;
    min-width: 40px;
}

.day.current {
    background: #667eea;
    color: white;
}

.day span {
    font-size: 12px;
    font-weight: 600;
}

.project-section {
    padding: 20px;
    background: white;
    margin: 10px 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

.project-header h3 {
    font-size: 20px;
    color: #333;
    margin: 0;
}

.edit-icon {
    font-size: 18px;
    cursor: pointer;
}

.project-image {
    width: 100%;
    height: 150px;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.home-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-progress {
    margin-bottom: 20px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #666;
}

.project-stats {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.stat-card {
    flex: 1;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
}

.stat-card h4 {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.budget-chart {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.days {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.quick-tools-section {
    padding: 20px;
    background: white;
    margin: 10px 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.quick-tools-section h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
}

.tools-grid {
    display: flex;
    gap: 15px;
    overflow-x: auto;
}

.tool-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    background: #667eea;
    color: white;
    border-radius: 8px;
    min-width: 80px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.tool-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.tool-card span:last-child {
    font-size: 12px;
    text-align: center;
}

.bottom-nav {
    display: flex;
    justify-content: space-around;
    padding: 15px 20px;
    background: white;
    border-top: 1px solid #e9ecef;
    position: sticky;
    bottom: 0;
}

.nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: none;
    border: none;
    color: #666;
    font-size: 12px;
    cursor: pointer;
    padding: 5px 10px;
}

.nav-btn.active {
    color: #667eea;
    font-weight: 600;
}

/* Home Pathway Styles */
.pathway-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    background: white;
    overflow-y: auto;
}

.pathway-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: white;
    border-bottom: 1px solid #e9ecef;
}

.pathway-header h2 {
    font-size: 20px;
    color: #333;
    margin: 0;
}

.pathway-phases {
    flex: 1;
    padding: 20px;
}

.phase-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    overflow-x: auto;
}

.phase-tab {
    padding: 8px 16px;
    background: #f8f9fa;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    white-space: nowrap;
}

.phase-tab.active {
    background: #667eea;
    color: white;
}

.phase-content {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.phase-info h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.phase-info p {
    color: #666;
    margin-bottom: 20px;
}

.phase-progress {
    margin-bottom: 20px;
}

.progress-text {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.pathway-steps {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.step.completed {
    background: #e8f5e8;
}

.step.pending {
    background: #fff3cd;
}

.step-marker {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #666;
    flex-shrink: 0;
}

.step.completed .step-marker {
    background: #28a745;
    color: white;
}

.step.pending .step-marker {
    background: #ffc107;
    color: #333;
}

.step-content {
    flex: 1;
}

.step-content h4 {
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
}

.step-content p {
    color: #666;
    font-size: 14px;
    margin-bottom: 5px;
}

.step-status {
    font-size: 12px;
    font-weight: 600;
    color: #28a745;
}

.step.pending .step-status {
    color: #ffc107;
}

/* Site Survey Styles */
.audit-steps {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.audit-step {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: #666;
    border: 2px solid #e9ecef;
}

.audit-step.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.people-involved {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.people-involved h4 {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}

.people-chips {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.person-chip {
    background: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 14px;
    color: #333;
    border: 1px solid #ddd;
}

.timeline {
    font-size: 12px;
    color: #666;
}

.conduct-photos {
    margin: 20px 0;
}

.conduct-photos h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.conduct-photos p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.photo-upload-area {
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
}

.upload-placeholder {
    cursor: pointer;
    padding: 40px 20px;
}

.upload-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.upload-placeholder p {
    margin: 5px 0;
    color: #333;
}

.photo-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0;
    font-size: 14px;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.photo-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    cursor: pointer;
}

.photo-item img {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

.photo-tag {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 4px 8px;
    font-size: 10px;
    text-align: center;
}

.photo-delete {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.why-photos {
    background: #e8f4fd;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.why-photos h4 {
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
}

.why-photos p {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    margin: 0;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
}

.modal-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.close {
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: #999;
}

.close:hover {
    color: #333;
}

.modal-body {
    padding: 20px;
}

.modal-actions {
    padding: 20px;
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 15px;
}

.photo-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.photo-option-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.photo-option-btn:hover {
    background: #f8f9fa;
    border-color: #667eea;
}

.option-icon {
    font-size: 24px;
}

.photo-preview {
    text-align: center;
    margin-bottom: 20px;
}

.photo-preview img {
    max-width: 100%;
    max-height: 200px;
    border-radius: 8px;
}

.voice-note-section {
    margin-top: 15px;
}

#voice-status {
    margin-top: 10px;
    font-size: 12px;
    color: #666;
}

/* Architect Intro Styles */
.architect-intro {
    text-align: center;
    padding: 20px 0;
}

.architect-hero {
    margin-bottom: 40px;
}

.hero-illustration {
    font-size: 60px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.house-design {
    font-size: 80px;
}

.architects {
    font-size: 40px;
}

.architect-intro h1 {
    font-size: 28px;
    color: #333;
    margin-bottom: 15px;
}

.architect-intro p {
    color: #666;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 30px;
}

.intro-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
    text-align: left;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
}

.feature-icon {
    font-size: 20px;
}

/* Professional Listing Styles */
.professional-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.tab-btn {
    flex: 1;
    padding: 12px 16px;
    background: none;
    border: none;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
}

.tab-btn.active {
    color: #667eea;
    border-bottom-color: #667eea;
    font-weight: 600;
}

.search-filter-section {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.search-filter-section .search-bar {
    flex: 1;
}

.filter-btn {
    padding: 12px 16px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 8px;
    color: #333;
    cursor: pointer;
    white-space: nowrap;
}

.filter-btn:hover {
    background: #e9ecef;
}

.active-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-chip {
    background: #e8f4fd;
    color: #667eea;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.filter-chip span {
    cursor: pointer;
    font-weight: bold;
}

.professionals-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.professional-card {
    background: white;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.professional-header {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.professional-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f8f9fa;
    overflow: hidden;
}

.professional-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.professional-info {
    flex: 1;
}

.professional-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.professional-location {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.professional-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #333;
}

.professional-bio {
    color: #666;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 15px;
}

.professional-actions {
    display: flex;
    gap: 10px;
}

.professional-actions .btn {
    flex: 1;
    margin: 0;
    padding: 10px 16px;
    font-size: 14px;
}

/* Filter Modal Styles */
.filter-section {
    margin-bottom: 25px;
}

.filter-section h4 {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
}

.radius-section {
    margin-top: 10px;
}

.radius-slider {
    width: 100%;
    margin-top: 5px;
}

.experience-options, .budget-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    cursor: pointer;
}

.style-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.style-btn {
    padding: 8px 16px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.style-btn.selected {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

/* Architect Profile Styles */
.profile-header {
    text-align: center;
    padding: 20px 0;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 20px;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 15px;
    background: #f8f9fa;
    overflow: hidden;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-name {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.profile-specialization {
    color: #667eea;
    font-size: 16px;
    margin-bottom: 10px;
}

.profile-rating {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    margin-bottom: 15px;
}

.profile-location {
    color: #666;
    font-size: 14px;
}

.profile-tabs {
    display: flex;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 20px;
}

.profile-tab {
    flex: 1;
    padding: 12px 8px;
    background: none;
    border: none;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
}

.profile-tab.active {
    color: #667eea;
    border-bottom-color: #667eea;
    font-weight: 600;
}

.profile-section {
    margin-bottom: 25px;
}

.profile-section h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.portfolio-item {
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
}

.portfolio-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.services-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.service-tag {
    background: #f8f9fa;
    color: #333;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
}

.profile-actions {
    position: sticky;
    bottom: 0;
    background: white;
    padding: 15px 20px;
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 15px;
}

/* Shortlist Styles */
.shortlist-empty {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.shortlist-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 10px;
}

.shortlist-checkbox {
    width: 18px;
    height: 18px;
}

.shortlist-actions {
    position: sticky;
    bottom: 0;
    background: white;
    padding: 15px 20px;
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 15px;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .form-actions {
        flex-direction: column;
    }
    
    .project-stats {
        flex-direction: column;
        gap: 10px;
    }
    
    .tools-grid {
        justify-content: space-between;
    }
    
    .main-heading {
        font-size: 20px;
    }
    
    .logo-section h1 {
        font-size: 36px;
    }
    
    .intro-content h2 {
        font-size: 24px;
    }
    
    .modal-content {
        margin: 5% auto;
        width: 95%;
    }
    
    .professional-actions {
        flex-direction: column;
    }
    
    .search-filter-section {
        flex-direction: column;
    }
    
    .audit-steps {
        gap: 10px;
    }
    
    .audit-step {
        width: 50px;
        height: 50px;
        font-size: 10px;
    }
    
    .hero-illustration {
        flex-direction: column;
        gap: 10px;
    }
    
    .house-design, .architects {
        font-size: 60px;
    }
}

/* Notes Functionality Styles */
.note-item {
    background: white;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.note-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.note-title {
    color: #333;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.note-date {
    color: #666;
    font-size: 12px;
    white-space: nowrap;
    margin-left: 12px;
}

.note-content {
    color: #555;
    font-size: 14px;
    line-height: 1.4;
    margin: 8px 0;
}

.note-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
}

.note-project {
    color: #007AFF;
    font-size: 12px;
    font-weight: 500;
}

.btn-delete {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.btn-delete:hover {
    background-color: #f5f5f5;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.empty-state h3 {
    margin: 16px 0 8px 0;
    color: #333;
}

.empty-state p {
    margin: 0;
    font-size: 14px;
}

#notes-list-container {
    max-height: 500px;
    overflow-y: auto;
}

/* Checkbox Styles for Design Brief */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    padding: 8px 0;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 8px;
    transform: scale(1.2);
}

/* Tool card cursor for interactive elements */
.tool-card[onclick] {
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.tool-card[onclick]:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Shortlisted button styles */
.btn.shortlisted {
    background-color: #4CAF50 !important;
    color: white !important;
    border-color: #4CAF50 !important;
}

/* AI Chatbot Styles */
.chat-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: #f8f9fa;
}

.chat-header {
    background: white;
    padding: 15px 20px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ai-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2196F3, #1976D2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
}

.ai-info h3 {
    font-size: 16px;
    color: #333;
    margin: 0;
}

.ai-status {
    font-size: 12px;
    color: #666;
    margin: 2px 0 0 0;
}

.chat-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f8f9fa;
}

.message {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.user-message {
    justify-content: flex-end;
}

.bot-message {
    justify-content: flex-start;
}

.message-content {
    max-width: 80%;
    position: relative;
}

.user-message .message-content {
    background: #2196F3;
    color: white;
    border-radius: 18px 18px 4px 18px;
    padding: 12px 16px;
}

.bot-message .message-content {
    background: white;
    color: #333;
    border-radius: 18px 18px 18px 4px;
    padding: 12px 16px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.message-text {
    line-height: 1.4;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.message-time {
    font-size: 11px;
    opacity: 0.7;
    margin-top: 4px;
    text-align: right;
}

.bot-message .message-time {
    text-align: left;
}

/* Typing indicator */
.typing {
    opacity: 0.7;
}

.typing-dots {
    display: flex;
    gap: 4px;
    padding: 8px 0;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #999;
    animation: typing-bounce 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(1) { animation-delay: -0.32s; }
.typing-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typing-bounce {
    0%, 80%, 100% { 
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% { 
        transform: scale(1);
        opacity: 1;
    }
}

/* Quick suggestions */
.quick-suggestions {
    padding: 15px 20px 10px;
    background: white;
    border-top: 1px solid #e9ecef;
}

.suggestion-chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.suggestion-chip {
    background: #e3f2fd;
    color: #1976d2;
    border: none;
    padding: 8px 12px;
    border-radius: 16px;
    font-size: 12px;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
}

.suggestion-chip:hover {
    background: #bbdefb;
    transform: translateY(-1px);
}

/* Chat input area */
.chat-input-area {
    background: white;
    border-top: 1px solid #e9ecef;
    padding: 15px 20px 20px;
}

.input-container {
    display: flex;
    gap: 10px;
    align-items: center;
    background: #f5f5f5;
    border-radius: 25px;
    padding: 8px 15px;
}

.chat-input-area input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    padding: 8px 0;
    font-size: 14px;
    color: #333;
}

.chat-input-area input::placeholder {
    color: #999;
}

.send-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #2196F3;
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.send-btn:hover {
    background: #1976D2;
    transform: scale(1.05);
}

.send-btn span {
    font-size: 16px;
    transform: rotate(-45deg);
}

.input-suggestions {
    margin-top: 8px;
    text-align: center;
}

.input-suggestions small {
    color: #666;
    font-size: 11px;
}

/* Tools grid update for 4 items */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 20px 0;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .message-content {
        max-width: 85%;
    }
    
    .suggestion-chips {
        gap: 6px;
    }
    
    .suggestion-chip {
        font-size: 11px;
        padding: 6px 10px;
    }
    
    .chat-input-area {
        padding: 12px 15px 15px;
    }
}

/* Smooth scrolling for chat */
.chat-messages {
    scroll-behavior: smooth;
}

/* Professional formatting in messages */
.bot-message .message-text strong {
    color: #1976d2;
    font-weight: 600;
}

.bot-message .message-text em {
    color: #666;
    font-style: normal;
    background: #f0f0f0;
    padding: 1px 4px;
    border-radius: 3px;
    font-size: 12px;
}

/* Home Setup Choice Buttons */
.setup-choice-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 30px 0 20px 0;
}

.setup-choice-btn {
    display: flex;
    align-items: center;
    padding: 25px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 16px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    width: 100%;
    color: inherit;
    font-family: inherit;
}

.setup-choice-btn:hover {
    border-color: #667eea;
    background: #f8f9ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.1);
}

.setup-choice-btn:active {
    transform: translateY(0px);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

.setup-choice-btn .choice-icon {
    font-size: 40px;
    margin-right: 20px;
    flex-shrink: 0;
}

.setup-choice-btn .choice-content {
    flex: 1;
}

.setup-choice-btn .choice-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    margin-top: 0;
}

.setup-choice-btn .choice-content p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

/* Choice Options Styles */
.choice-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.choice-btn {
    display: flex;
    align-items: center;
    padding: 25px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 16px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.choice-btn:hover {
    border-color: #667eea;
    background: #f8f9ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.choice-icon {
    font-size: 40px;
    margin-right: 20px;
}

.choice-text h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.choice-text p {
    font-size: 14px;
    color: #666;
    margin: 0;
    text-align: left;
}

/* Enhanced AI Chatbot Styles */

/* Chat Input Area */
.chat-input-area {
    padding: 15px 20px;
    background: white;
    border-top: 1px solid #e9ecef;
}

.input-container {
    display: flex;
    gap: 10px;
    align-items: center;
    background: #f8f9fa;
    border-radius: 25px;
    padding: 8px 15px;
    border: 1px solid #ddd;
}

.input-container input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 8px;
    font-size: 16px;
    outline: none;
}

.mic-btn {
    background: #667eea;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
}

.mic-btn:hover {
    background: #5a6fd8;
    transform: scale(1.05);
}

.mic-btn.recording {
    background: #ff4757;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.send-btn {
    background: #667eea;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.send-btn:hover {
    background: #5a6fd8;
    transform: scale(1.05);
}

.voice-status {
    text-align: center;
    padding: 8px;
    margin-top: 10px;
    background: #fff3cd;
    border-radius: 15px;
    border: 1px solid #ffeaa7;
}

.recording-indicator {
    color: #d63031;
    font-size: 14px;
    font-weight: 600;
}

.input-suggestions {
    text-align: center;
    margin-top: 10px;
    padding: 0 10px;
}

.input-suggestions small {
    color: #666;
    font-size: 12px;
    line-height: 1.4;
}

/* Professional Cards in Chat */
.professional-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 15px;
    margin: 10px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

.professional-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.professional-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
}

.professional-details {
    margin-bottom: 10px;
}

.professional-details p {
    margin: 4px 0;
    font-size: 14px;
    color: #666;
}

.professional-actions {
    display: flex;
    gap: 10px;
}

.btn-shortlist {
    background: #667eea;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-shortlist:hover {
    background: #5a6fd8;
    transform: translateY(-1px);
}

.btn-contact {
    background: #28a745;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background: #218838;
    transform: translateY(-1px);
}

/* Team Management Panel */
.team-panel {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 15px;
    margin: 10px 0;
}

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

.team-member {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    background: white;
    border-radius: 8px;
    margin-bottom: 8px;
}

.member-info {
    flex: 1;
}

.member-status {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 600;
}

.status-active {
    background: #d4edda;
    color: #155724;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

/* Budget Tracker */
.budget-tracker {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    padding: 15px;
    margin: 10px 0;
}

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

.budget-progress {
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
    height: 8px;
    overflow: hidden;
    margin-bottom: 10px;
}

.budget-fill {
    background: #28a745;
    height: 100%;
    transition: width 0.3s ease;
}

.budget-breakdown {
    font-size: 12px;
    opacity: 0.9;
}

/* Enhanced Chat Messages */
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    max-height: 400px;
}

.message {
    margin-bottom: 15px;
    padding: 10px 15px;
    border-radius: 18px;
    max-width: 85%;
    word-wrap: break-word;
    animation: messageSlideIn 0.3s ease;
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.user-message {
    background: #667eea;
    color: white;
    margin-left: auto;
    border-bottom-right-radius: 5px;
}

.bot-message {
    background: #f1f3f4;
    color: #333;
    margin-right: auto;
    border-bottom-left-radius: 5px;
}

.message-time {
    font-size: 11px;
    opacity: 0.7;
    margin-top: 5px;
    text-align: right;
}

.bot-message .message-time {
    text-align: left;
}

.typing-dots {
    display: flex;
    gap: 4px;
    padding: 10px;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #667eea;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.5;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

/* Quick Action Buttons */
.quick-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 10px 0;
}

.quick-action-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quick-action-btn:hover {
    background: #5a6fd8;
    transform: translateY(-1px);
}

/* ============================================
   TEAM MANAGEMENT STYLES
   ============================================ */

/* Shortlisted Professionals Screen */
.shortlisted-container {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: #f8f9fa;
}

.shortlisted-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

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

.section-header h3 {
    font-size: 18px;
    color: #333;
    margin: 0;
}

.count-badge {
    background: #6c7ae0;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

.professionals-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.professional-card {
    background: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.professional-card:hover {
    transform: translateY(-2px);
}

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

.prof-header h4 {
    color: #333;
    font-size: 16px;
    margin: 0;
}

.prof-rating {
    background: #ffd700;
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: bold;
}

.prof-details {
    margin-bottom: 15px;
}

.prof-details p {
    margin: 5px 0;
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
}

.prof-icon {
    margin-right: 8px;
    width: 16px;
}

.prof-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 6px;
}

.btn-tertiary {
    background: #f8f9fa;
    color: #666;
    border: 1px solid #dee2e6;
}

.btn-tertiary:hover {
    background: #e9ecef;
}

.shortlisted-actions {
    padding: 15px 20px;
    background: white;
    border-top: 1px solid #dee2e6;
}

/* My Team Screen */
.team-container {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: #f8f9fa;
}

.team-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

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

.team-header h3 {
    font-size: 18px;
    color: #333;
    margin: 0;
}

.team-stats {
    display: flex;
    justify-content: space-around;
    background: white;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 20px;
    font-weight: bold;
    color: #6c7ae0;
}

.stat-label {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}

.team-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.team-member-card {
    background: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.team-member-card:hover {
    transform: translateY(-2px);
}

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

.member-header h4 {
    color: #333;
    font-size: 16px;
    margin: 0;
    flex: 1;
}

.member-badges {
    display: flex;
    gap: 6px;
    flex-direction: column;
    align-items: flex-end;
}

.badge {
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
}

.badge.painter { background: #ffeaa7; color: #e17055; }
.badge.carpenter { background: #fdcb6e; color: #e84393; }
.badge.plumber { background: #74b9ff; color: #0984e3; }
.badge.electrician { background: #fd79a8; color: #e84393; }
.badge.architect { background: #a29bfe; color: #6c5ce7; }

.rating-badge {
    background: #ffd700;
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: bold;
}

.member-details {
    margin-bottom: 15px;
}

.member-details p {
    margin: 5px 0;
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
}

.member-icon {
    margin-right: 8px;
    width: 16px;
}

.member-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.member-footer {
    padding-top: 10px;
    border-top: 1px solid #f1f3f4;
}

.member-footer small {
    color: #999;
    font-size: 11px;
}

.team-actions {
    padding: 15px 20px;
    background: white;
    border-top: 1px solid #dee2e6;
    display: flex;
    gap: 10px;
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.empty-icon {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.empty-state p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Header Button Styles */
.header-btn {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.header-btn:hover {
    background: rgba(0,0,0,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .team-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .stat-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
    
    .stat-number {
        font-size: 16px;
    }
    
    .member-badges {
        flex-direction: row;
        align-items: center;
    }
    
    .prof-actions, .member-actions {
        flex-direction: column;
    }
    
    .team-actions {
        flex-direction: column;
    }
}

/* Animation for screen transitions */
.screen {
    transition: opacity 0.3s ease;
}

.screen.active {
    opacity: 1;
}

/* Tool card hover effects for new team options */
.tool-card:nth-child(5), .tool-card:nth-child(6) {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.tool-card:nth-child(5):hover, .tool-card:nth-child(6):hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* Camera Button Styling */
.camera-btn {
    background: #4CAF50;
    border: none;
    border-radius: 8px;
    padding: 12px;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
}

.camera-btn:hover {
    background: #45a049;
    transform: scale(1.05);
}

.camera-btn:active {
    transform: scale(0.95);
}

/* Visual Suggestion Cards */
.visual-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 16px;
    margin: 8px 0;
    color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.visual-option {
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 12px;
    margin: 8px 0;
    border: 1px solid rgba(255,255,255,0.2);
}

.visual-option h4 {
    color: #fff;
    margin-bottom: 4px;
}


/* Enhanced Multilingual Chat Features */
.enhanced-mic {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.lang-indicator {
    font-size: 8px;
    color: #666;
    margin-top: -2px;
    font-weight: bold;
}

.enhanced-voice-status {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 8px;
    padding: 8px 12px;
    margin: 5px 0;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    animation: pulse 2s infinite;
}

.enhanced-suggestions {
    background: rgba(102, 126, 234, 0.1);
    border-radius: 6px;
    padding: 6px 10px;
    margin-top: 5px;
}

.enhanced-suggestions small {
    color: #667eea;
    font-weight: 500;
}

/* Enhanced Chat Input for Multilingual */
#chat-input {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif, "Noto Sans Devanagari";
    direction: ltr;
}

#chat-input::placeholder {
    color: #999;
    font-style: italic;
}

/* Visual Design Cards Styling */
.design-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 12px;
    padding: 15px;
    margin: 10px 0;
    border-left: 4px solid #667eea;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.design-option {
    background: white;
    border-radius: 8px;
    padding: 12px;
    margin: 8px 0;
    border: 1px solid #e0e6ed;
    transition: all 0.3s ease;
}

.design-option:hover {
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
    border-color: #667eea;
}

/* Cost Estimation Styling */
.cost-estimate {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    color: #8b4513;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: bold;
    display: inline-block;
    margin: 5px 0;
}

/* Hindi Text Support */
.hindi-text {
    font-family: "Noto Sans Devanagari", "Arial Unicode MS", sans-serif;
    line-height: 1.6;
}

/* Animation for voice status */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Responsive Design for Multilingual Content */
@media (max-width: 768px) {
    .enhanced-suggestions small {
        font-size: 10px;
        line-height: 1.4;
    }
    
    .lang-indicator {
        font-size: 7px;
    }
    
    #chat-input {
        font-size: 14px;
    }
}

/* Visual Suggestion Cards */
.visual-suggestions-container {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
}

.suggestion-card {
    min-width: 280px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    scroll-snap-align: start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.suggestion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

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

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

.card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.card-content {
    padding: 15px;
}

.card-title {
    font-size: 16px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 5px;
}

.card-description {
    font-size: 14px;
    color: #718096;
    margin-bottom: 12px;
    line-height: 1.4;
}

.card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.feature-tag {
    background: #e6fffa;
    color: #234e52;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.card-pricing {
    margin-bottom: 15px;
}

.price-range {
    font-size: 16px;
    font-weight: 700;
    color: #38a169;
    margin-bottom: 4px;
}

.craftsman-info {
    font-size: 12px;
    color: #718096;
}

.card-actions {
    display: flex;
    gap: 10px;
}

.btn-card-action {
    flex: 1;
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-card-action.btn-primary {
    background: #667eea;
    color: white;
}

.btn-card-action.btn-primary:hover {
    background: #5a67d8;
}

.btn-card-action.btn-secondary {
    background: #f7fafc;
    color: #4a5568;
    border: 1px solid #e2e8f0;
}

.btn-card-action.btn-secondary:hover {
    background: #edf2f7;
}

/* Typing Indicator */
.typing {
    opacity: 0.8;
}

.typing-dots {
    display: flex;
    gap: 4px;
    margin-bottom: 5px;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    background: #667eea;
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .visual-suggestions-container {
        gap: 10px;
        padding: 10px 5px;
    }
    
    .suggestion-card {
        min-width: 250px;
    }
    
    .card-image {
        height: 150px;
    }
    
    .card-content {
        padding: 12px;
    }
    
    .card-title {
        font-size: 15px;
    }
    
    .card-description {
        font-size: 13px;
    }
    
    .btn-card-action {
        font-size: 12px;
        padding: 6px 10px;
    }
}

/* Professional Cards */
.professionals-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 15px 0;
    margin: 10px 0;
}

.professional-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 15px;
    transition: all 0.3s ease;
}

.professional-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.professional-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.professional-avatar {
    font-size: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e3f2fd;
    border-radius: 50%;
}

.professional-info {
    flex: 1;
}

.professional-info h4 {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 700;
    color: #2d3748;
}

.specialty {
    margin: 0 0 2px 0;
    font-size: 14px;
    color: #667eea;
    font-weight: 600;
}

.location {
    margin: 0;
    font-size: 12px;
    color: #718096;
}

.professional-rating {
    text-align: right;
}

.rating {
    background: #38a169;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.professional-actions {
    display: flex;
    gap: 10px;
}

.btn-professional-action {
    flex: 1;
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-professional-action.btn-primary {
    background: #667eea;
    color: white;
}

.btn-professional-action.btn-primary:hover {
    background: #5a67d8;
}

.btn-professional-action.btn-secondary {
    background: white;
    color: #4a5568;
    border: 1px solid #e2e8f0;
}

.btn-professional-action.btn-secondary:hover {
    background: #f7fafc;
}

/* Tips Container */
.tips-container {
    background: #fff8dc;
    border: 1px solid #f4d03f;
    border-radius: 10px;
    padding: 15px;
    margin: 10px 0;
}

.tips-container h4 {
    margin: 0 0 10px 0;
    color: #b7950b;
    font-size: 14px;
    font-weight: 700;
}

.tips-list {
    margin: 0;
    padding-left: 20px;
    list-style-type: none;
}

.tips-list li {
    margin: 6px 0;
    padding-left: 20px;
    position: relative;
    font-size: 14px;
    color: #5d4e75;
    line-height: 1.4;
}

.tips-list li:before {
    content: "💰";
    position: absolute;
    left: 0;
    top: 0;
}

/* Enhanced Chat Input Styling */
#chat-input {
    transition: all 0.3s ease;
    border: 2px solid #e2e8f0;
}

#chat-input:focus {
    border-color: #667eea !important;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    outline: none;
}

/* Enhanced Mic Button */
#mic-btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#mic-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

#mic-btn.recording {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Voice Status Enhanced */
.enhanced-voice-status {
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid #ff4444;
    border-radius: 8px;
    padding: 8px 12px;
    margin: 5px 0;
    animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.recording-indicator {
    font-size: 14px;
    color: #c53030;
    font-weight: 600;
}

/* Enhanced Suggestions */
.enhanced-suggestions {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border-radius: 8px;
    padding: 8px 12px;
    margin: 5px 0;
    font-size: 12px;
    text-align: center;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0% { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
    50% { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
    100% { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
}

/* Language Selection Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    animation: slideInUp 0.3s ease;
}

.language-modal-content {
    padding: 0;
    overflow: hidden;
}

.modal-header {
    padding: 20px;
    background: #667eea;
    color: white;
    text-align: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.modal-body {
    padding: 30px 20px;
}

.modal-body p {
    margin: 0 0 10px 0;
    text-align: center;
    color: #333;
    line-height: 1.5;
}

.language-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
}

.language-option {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin: 0;
}

.language-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Voice Conversation Controls */
.voice-conversation-controls {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    justify-content: center;
}

.voice-control-btn {
    padding: 10px 16px;
    border: 2px solid #667eea;
    border-radius: 20px;
    background: white;
    color: #667eea;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    max-width: 160px;
}

.voice-control-btn:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

.voice-control-btn.start-conversation {
    border-color: #10b981;
    color: #10b981;
}

.voice-control-btn.start-conversation:hover {
    background: #10b981;
    color: white;
}

.voice-control-btn.stop-conversation {
    border-color: #ef4444;
    color: #ef4444;
}

.voice-control-btn.stop-conversation:hover {
    background: #ef4444;
    color: white;
}

/* Navigation Options in Chat */
.navigation-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.nav-option-btn {
    padding: 8px 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.nav-option-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Conversation Status Indicator */
.conversation-status {
    background: linear-gradient(90deg, #10b981, #059669);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    text-align: center;
    margin: 8px 0;
    animation: pulse 2s infinite;
    font-size: 14px;
    font-weight: 500;
}

.conversation-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* Enhanced Voice Status */
.enhanced-voice-status {
    background: linear-gradient(90deg, #ef4444, #dc2626);
    color: white;
    padding: 10px 16px;
    border-radius: 20px;
    text-align: center;
    margin: 8px 0;
    animation: recordingPulse 1.5s infinite;
}

@keyframes recordingPulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Enhanced Mic Button */
.enhanced-mic.recording {
    background: #ef4444 !important;
    color: white !important;
    animation: micRecording 2s infinite;
}

@keyframes micRecording {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

/* Professional Cards Styling */
.professional-cards-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 15px 0;
    max-width: 100%;
}

.professional-card {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 16px;
    margin: 8px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.professional-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.15);
    border-color: #667eea;
}

.professional-info {
    margin-bottom: 12px;
}

.professional-info h4 {
    color: #1e293b;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}

.professional-info .specialty {
    color: #667eea;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
}

.professional-info .location,
.professional-info .rating,
.professional-info .budget {
    color: #64748b;
    font-size: 13px;
    margin: 2px 0;
}

.professional-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.action-btn {
    padding: 8px 12px;
    border: none;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 80px;
}

.contact-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.contact-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.shortlist-btn {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.shortlist-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.profile-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.profile-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Tips Container Styling */
.tips-container {
    background: linear-gradient(135deg, #fef3c7 0%, #fbbf24 100%);
    border-radius: 12px;
    padding: 16px;
    margin: 12px 0;
    border-left: 4px solid #f59e0b;
}

.tips-header {
    font-size: 16px;
    font-weight: 600;
    color: #92400e;
    margin-bottom: 10px;
}

.tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tips-list li {
    color: #78350f;
    font-size: 14px;
    margin: 6px 0;
    padding-left: 16px;
    position: relative;
}

.tips-list li::before {
    content: "💰";
    position: absolute;
    left: 0;
    top: 0;
}

/* Budget Input Enhancement */
.budget-input {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #059669 !important;
    text-align: center !important;
}

.budget-input::placeholder {
    color: #9ca3af !important;
    font-weight: 400 !important;
}

/* Upload Status */
.upload-status {
    margin-top: 10px;
    font-size: 14px;
    text-align: center;
}

.btn-upload {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 10px 0;
}

.btn-upload:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Notes Functionality Styles */
.note-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 16px;
    margin: 10px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.note-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-color: #667eea;
}

.note-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.note-header h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
    max-width: 70%;
}

.note-date {
    font-size: 12px;
    color: #666;
    white-space: nowrap;
}

.note-preview {
    color: #666;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 12px;
}

.note-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.edit-btn, .delete-btn {
    background: none;
    border: none;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.edit-btn:hover {
    background-color: #f0f8ff;
}

.delete-btn:hover {
    background-color: #fff0f0;
}

.no-notes {
    text-align: center;
    color: #666;
    font-size: 16px;
    padding: 40px 20px;
    background: #f9f9f9;
    border-radius: 12px;
    margin: 20px 0;
}

#notes-list-container {
    padding: 20px 0;
}

/* Notes form styling */
#note-content {
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
}

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

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

