.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.property-lookup {
    padding: 80px 0;
    background: linear-gradient(165deg, var(--dark-gray) 0%, var(--primary) 100%);
    position: relative;
    overflow: hidden;
}

/* Add animated background elements */
.property-lookup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(29, 185, 84, 0.05) 0%, transparent 70%),
        radial-gradient(circle at 80% 70%, rgba(29, 185, 84, 0.05) 0%, transparent 70%);
    z-index: 1;
}

/* Add floating orbs */
.property-lookup::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle at center, rgba(29, 185, 84, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    top: -200px;
    right: -200px;
    animation: float 20s ease-in-out infinite;
    z-index: 0;
}

/* Ensure content stays above background */
.property-lookup .container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 120px;
}

.lookup-form {
    max-width: 800px;
    margin: 0 auto 40px;
    padding: 30px;
    background: linear-gradient(165deg, rgba(30, 30, 30, 0.9) 0%, rgba(18, 18, 18, 0.95) 100%);
    border-radius: 15px;
    border: 1px solid rgba(29, 185, 84, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text);
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.2);
    color: var(--text);
}

/* Add hover effect to form inputs */
.form-group input:hover {
    border-color: rgba(29, 185, 84, 0.3);
}

.form-group input:focus {
    border-color: var(--secondary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(29, 185, 84, 0.1);
}

.lookup-btn {
    background: var(--secondary);
    color: var(--primary);
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    width: 100%;
}

.lookup-btn:hover {
    background: #1ed760;
    transform: translateY(-2px);
}

.property-results {
    display: none;
    max-width: 1000px;
    margin: 0 auto;
}

.property-card {
    background: linear-gradient(165deg, rgba(30, 30, 30, 0.9) 0%, rgba(18, 18, 18, 0.95) 100%);
    border-radius: 15px;
    border: 1px solid rgba(29, 185, 84, 0.15);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.property-section {
    padding: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.property-section:last-child {
    border-bottom: none;
}

.property-section h4 {
    color: var(--secondary);
    margin-bottom: 20px;
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.property-detail {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.detail-label {
    color: var(--text-muted);
    font-size: 0.9em;
}

.detail-value {
    color: var(--text);
    font-size: 1.1em;
    font-weight: 500;
    min-height: 1.5em;
    display: block;
}

#propertyValue {
    color: var(--secondary);
}

.neighborhood-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rating-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rating-stars {
    color: var(--secondary);
    font-size: 1.2em;
}

.amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.amenity-tag {
    padding: 6px 12px;
    background: rgba(29, 185, 84, 0.1);
    border-radius: 15px;
    color: var(--secondary);
    font-size: 0.9em;
}

.market-trends {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.trend-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.loading-indicator {
    text-align: center;
    padding: 20px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(29, 185, 84, 0.1);
    border-left-color: var(--secondary);
    border-radius: 50%;
    margin: 0 auto;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.error-message {
    padding: 30px;
    background: linear-gradient(165deg, rgba(255, 0, 0, 0.05) 0%, rgba(255, 0, 0, 0.1) 100%);
    border-radius: 15px;
    border: 1px solid rgba(255, 0, 0, 0.2);
    color: var(--text);
    text-align: center;
    max-width: 600px;
    margin: 20px auto;
    backdrop-filter: blur(10px);
}

.error-details {
    margin-top: 15px;
    color: var(--text-muted);
    font-size: 0.9em;
    text-align: center;
}

.property-results .error-message {
    margin-top: 40px;
}

.property-results h3 {
    text-align: center;
    color: var(--secondary);
    margin-bottom: 20px;
    font-size: 1.8em;
}

.property-lookup h2 {
    color: var(--secondary);
    text-align: left;
    font-size: 3.2em;
    margin: 0 0 80px 120px;
    font-weight: 800;
    background: linear-gradient(45deg, var(--text) 30%, var(--secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    position: relative;
    white-space: nowrap;
    width: fit-content;
}

@media (max-width: 768px) {
    .property-grid,
    .market-trends {
        grid-template-columns: 1fr;
    }
}

/* Add floating animation */
@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-30px, 30px) rotate(180deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

.tokenize-btn {
    background: var(--secondary);
    color: var(--primary);
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.tokenize-btn:hover {
    background: #1ed760;
    transform: translateY(-2px);
}

