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

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    min-height: 100vh;
    color: #2c3e50;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
}

header {
    margin-bottom: 40px;
    color: white;
}

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

.logo-icon {
    background: rgba(255, 255, 255, 0.15);
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.logo-text {
    text-align: left;
}

.logo-text h1 {
    font-size: 2rem;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    font-weight: 300;
    letter-spacing: 1px;
}

header p {
    font-size: 1rem;
    opacity: 0.9;
}

.search-section {
    margin-bottom: 30px;
}

.search-box {
    display: flex;
    gap: 10px;
    background: white;
    border-radius: 15px;
    padding: 5px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

#searchInput {
    flex: 1;
    border: none;
    padding: 15px 20px;
    font-size: 16px;
    border-radius: 10px;
    outline: none;
}

#searchBtn {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#searchBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 60, 114, 0.3);
}

#searchBtn:active {
    transform: translateY(0);
}

.results-section {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    margin-bottom: 20px;
    border: 1px solid rgba(30, 60, 114, 0.1);
}

.results-section h2 {
    color: #1e3c72;
    margin-bottom: 25px;
    font-size: 1.6rem;
    font-weight: 400;
    border-bottom: 2px solid #f8f9fa;
    padding-bottom: 10px;
}

.client-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 4px solid #1e3c72;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.client-card:last-child {
    margin-bottom: 0;
}

.client-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 60, 114, 0.1);
}

.client-field {
    margin-bottom: 10px;
}

.client-field:last-child {
    margin-bottom: 0;
}

.field-label {
    font-weight: 600;
    color: #1e3c72;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 5px;
}

.field-value {
    font-size: 1.05rem;
    color: #2c3e50;
    word-break: break-word;
    font-weight: 400;
}

.pessoas-list {
    margin-top: 10px;
}

.pessoa-item {
    background: white;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 8px;
    border-left: 3px solid #667eea;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.pessoa-item:last-child {
    margin-bottom: 0;
}

.pessoa-nome {
    font-weight: 600;
    color: #333;
    font-size: 1rem;
    margin-bottom: 4px;
}

.pessoa-email {
    color: #667eea;
    font-size: 0.9rem;
    word-break: break-all;
}

.pessoa-empresa {
    color: #28a745;
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 4px;
}

.loading {
    text-align: center;
    color: white;
    margin: 40px 0;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255,255,255,0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.no-results {
    background: white;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    color: #6c757d;
    border: 1px solid rgba(30, 60, 114, 0.1);
}

.no-results p {
    font-size: 1.1rem;
}

/* Responsividade para celular */
@media (max-width: 480px) {
    .container {
        padding: 15px;
    }
    
    .logo {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .logo-text {
        text-align: center;
    }
    
    .logo-text h1 {
        font-size: 1.6rem;
    }
    
    .search-box {
        flex-direction: column;
        gap: 5px;
    }
    
    #searchInput, #searchBtn {
        width: 100%;
    }
    
    .client-card {
        padding: 15px;
    }
    
    .field-value {
        font-size: 1rem;
    }
} 